News for hackers. Stuff that matters.
Re:HN-comments-drawer: one line HN comments integration into... by sleepyhead on Monday December 11, 2023 @06:15AM (#38599558)
Great work, however noticed this:

id="hn-comments-drawer storyId-38300167 maxDepth-3"

Please use data-attributes or another more suitable alternative than id for settings.

https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Us...

There are no comments on this comment yet.