Posts

In Dark Reader extension On state, sometimes Blogger Edit Post HTML temporarily shows Dark Reader attributes and styles

Contents Background Trial Takeaways Gemini Review Confusion about March 2026 Observations about Blogger server filtering post content Background A few days back, when I opened https://raviswdev.blogspot.com/2026/04/markdown-incl-gemini-chat-responses-to.html in HTML view in Blogger Edit Post, I saw Dark Reader extension attributes and styles in it. I don't recall whether at that point, Dark Reader extension was active or not. I presumed that somehow Dark Reader stuff had got inserted into that post and made a note of cleaning it of that stuff later on. Today I started on that work. I downloaded the user-created content of the post with scrape-blogger-post.ps1 which created markdown-incl-gemini-chat-response.html local file. Then I ran checkPostBloat.ps1 (using blcpb alias) on this local file. Output of that command is given below: TempHTML> blcpb .\markdown-incl-gemini-chat-response.html --- Local File Report: .\markdown-incl-gemin...

HTML Refresher and Detailed Study - Part 4

Post series: Part 1 ,     Part 2 ,     Part 3 Contents Data attributes in HTML Some React libraries use data attributes W3Schools HTML tutorial has limited coverage of data attributes MDN guide page for data attributes is recommended by Gemini Dynamically generated HTML elements may be more easily targetted via data attributes Backend server populates elements with data attributes to identify them State tracking using data attributes Passing small bits of configuration using data attributes Some React libraries using data attributes to identify elements it interacts with React Styling libraries like Headless UI using data attributes to signal state to CSS React library using data attributes for metadata avoiding prop drilling Data attributes store data in DOM itself in contrast to JavaScript variables Data attributes are more easily visible in Chrome Inspector/DevTools as compared to JavaScript variables Small data...