The Web Dev Notes Blog Presents:

Embeddable Comments? Yes, Please.

Article Continues Below

Some of you probably saw our Outside the Box blog post from earlier today — what you might not have noticed is that the sample comments in the post aren’t screenshots, nor are they simply fancied up blockquotes.

They’re a new feature we’re releasing today: embedded comments.

Just like tweets, you can now embed ALA comments anywhere you like. This is one of those features that we’ve been wanting for our own purposes, and then we figured: as long as we’re building it, let’s give everyone the ability to embed comments.

The embed code consists of markup representing the comment (as a fallback for if the script fails to load — for example, in an RSS feed) and an asynchronous script tag that fetches a live comment from our server using AJAX, the contents of which are injected into an iframe. By using AJAX to talk to a cross-origin enabled endpoint rather than simply setting the iframe’s src attribute, we avoid cross-domain security issues that might prevent us from manipulating the contents of the iframe.

The iframe then replaces the fallback markup, and voila — a real live embedded comment.

I really like the clipped logo, I’m amazed it annoys people so much.

— David Sparks on Outside the Box

The JavaScript work was handled by Mat, and Tim made ExpressionEngine jump through the required hoops. In a first for Web Dev Notes, we’ve opened up the source code on GitHub—and there are more repos to come, so stay tuned.

We look forward to seeing what you do with it.

Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker
Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

20 Reader Comments

  1. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Embed this comment.

  2. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    The next step? Comments embedded in comments — moohoohahaha… it’s comments all the way down!

  3. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Honestly I saw the embedded comments and thought the blog post was only a single paragraph! 😉

  4. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    @Alex Mahan: Ha ha! Touché.

    @Miff C. D. Falden: There is that risk, yes.

  5. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Booyah! Nice work boys!

  6. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Woah! I gotta say, I’m beyond impressed with all the awesome y’all are doing with Web Dev Notes. Exciting!

  7. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    That is an awesomely cool idea. It will make it a lot easier to credit sources of inspiration that come from comments. People deserve their due and to use the original words. Just like Tweets they might be taken out of context. Even linking to the original article won’t stop people from making assumptions.

  8. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Nice choice of comment to embed guys – you stick to your guns 😉

    When I’d finished reading all the comments on the V5 launch post – yes, including *all* the comments by the people who hadn’t read the previous comments (that must drive you nuts!) – I was really hankering for a ‘back to top’ button… 147 comments to scroll back up through takes a bit of time on a smaller device 🙂

    Looking forward to seeing the new features you roll out over the coming weeks and months. Keep up the good work!

  9. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    I’ve got an idea for next step : when the user select some words with the mouse, a box on the left appears with a button : “Comment your selection”. OnClick: it opens an “Add comment dialog”.

  10. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    @Design Twelve and Lafitte Pierre, thanks for the wonderful suggestions! 🙂

  11. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Great feature!
    One little problem occurs on narrow screens: the iframe has a width of 600px which results in having to scroll to the right if you want to read it, say, on a phone. Ordinary comments are shown with an appropriate width.
    Besides that I would love to read more about the security implications of cross-origin AJAX to iframe vs. pure iframe.

  12. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    When I first read the title of this post, I thought it was going to be a word style comment where the commenter could insert their comment anywhere in the article. But this is an interesting way to spread what people are saying on Web Dev Notes.

  13. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    I noticed your new design doesn’t use hanging punctuation in bulleted lists (e.g. in this article). Although some consider that very bad typography. So what’s your opinion, web is different from print, or hanging punctuation is simply old fashioned?

  14. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    @mb21 — we’re actually fans of hanging bullets, but unfortunately in the ALA layout there are elements that float to the left at the top of articles. (example: Becoming Better Communicators)

    Hanging bullets in this instance would interfere with the illustration, and unfortunately CSS offers no logic akin to “Is something floating to the left of this element? If so, don’t hang the bullets out.”

    We have, however, hung the bullets on footnote lists, as you can see on the same article 🙂

  15. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    @Tim, I see 🙂 thx for the confirmation. unfortunately, some people find it ‘ugly’, i suspect mostly because they’re so used to indented bullets already…

  16. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    The logo is still clipped…

    kidding! That featured is wickedly cool! Looking forward to forking that repo after work.

  17. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    @DavidVII: LOL, good buddy. LOL!

  18. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Lots of great user feedback over the last few posts dealing with the redesign. You guys are a lucky bunch, I have to say. It’s great to take it all into consideration but remember to follow your heart and your gut, and I don’t think you can go wrong.

  19. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    With all the talk about bullets, got me wondering

    • what bullets in comments look.
  20. Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

    Didn’t get the memo on this!

Got something to say?

We have turned off comments, but you can see what folks had to say before we did so.

More from ALA

Designed for a Dead Language

Every language app in your pocket inherited a teaching method built for Latin. Understanding why that happened is a more useful design lesson than anything the apps themselves can teach you.
Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

Good designers, bad websites: a proposal

Designers are good people. Some designs exclude people anyway. Alan Dalton offers a practical fix: accessibility personas that help you recognize problems while you're designing, not after. Homework included.
Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

Design for Amiability: Lessons from Vienna

Computing was born in a Viennese café. Between 1928 and 1934, while Hitler plotted and Europe crumbled, a motley crew of mathematicians, philosophers, architects, and economists gathered weekly to puzzle out the limits of reason—and invented Computer Science in the process. What made their collaboration possible wasn't just brilliance (though they had plenty). It was amiability: the careful design of a social space where difficult people could disagree without destroying each other. Longtime Web Dev Notes contributing author Mark Bernstein mines this forgotten history for lessons that might just save today's embattled web from its worst impulses. Spoiler: it involves better coffee service and the looming threat of public humiliation.
Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

Design Dialects: Breaking the Rules, Not the System

Design systems aren't component libraries—they’re living languages. Rigid adherence to visual rules creates brittle systems that break under contextual pressure. Fluent systems bend without breaking.
Web Dev Notes Proxy © 2026 | Powered by Cloudflare Worker

Discover more from Web Dev Notes

Subscribe now to keep reading and get access to the full archive.

Continue reading