Reading List
Libraries
Developer Resources
Reading List
I just completed my first JavaScript blogger comment section. It's crappy looking, but at least blog visitors can leave and read comments.
Got a form, got a list of comments. That's enough for now!
![]() |
Blogger comments section loaded using JavaScript. |
I have not figured out how the reply comment form works. Leaving it for another day.
🔷 Reply Form Iframe
I've taken an example comment reply form HTML from another blog. It looks like this:
<iframe allowtransparency="allowtransparency" class="blogger-iframe-colorize blogger-comment-from-post" frameborder="0" height="306px" id="comment-editor" name="comment-editor" src="https://www.blogger.com/comment/frame/2327455040726737616?po=8541273704668917471&hl=en&saa=85391&origin=https%3A%2F%2Fmlbb-fun.blogspot.com&skin=contempo&blogspotRpcToken=2829859&parentID=1746357630186992277" width="100%" style="display: block;" data-resized="true"></iframe>
To break it down, the URL format is as follow:
https://www.blogger.com/comment/frame/2327455040726737616?
po=8541273704668917471
&hl=en
&saa=85391
&origin=https://mlbb-fun.blogspot.com
&skin=contempo
&blogspotRpcToken=2829859
&parentID=1746357630186992277
A few parameter that I can guess:
hl
This is likely the interface language for the comment form.skin
The base template codename for the comment form.parentID
This is the parent comment ID.
With that info, I can now start implementing that onto the JavaScript comment section.
When I look into it, we can simply use the base comment form URL (the one that reply directly to the post), and add the parentID parameter for the comment we want to reply to.
The code is now complete, although there's no styling yet. I'll be sharing the script after creating a repo on GitHub.
The script can be downloaded from here.
The results will be like this (no styling yet):
Blogger JavaScript Comment Loader |
The post comment form itself is not included in the script. Please read the documentation on how to setup the script. https://www.blogger.com/rpc_relay.html https://www.blogger.com/comment/frame/220561901913020919?po=2640115374025507426&hl=en&saa=85391&origin=https://xmlexpr.blogspot.com&skin=contempo https://xmlexpr.blogspot.com/2025/09/javascript-blogger-comments-section.html#comments