HNHacker News
TopNewBestAskShowJobs

pentanide

1 karma · joined April 1, 2026

submissionscomments
pentanide··on I turned my Kindle into my own personal newspaper
On Kindle 7’s outdated WebKit, both feed loading and article opening failed because the code relied on Set and DOM properties(too modern) that were missing, causing “undefined is not an object/function” errors. I could fix it by adding defensive null/type checks across DOM and helper functions, and implementing a full Set polyfill (has, add, delete, clear, forEach) to ensure compatibility without changing the existing logic. Now that I'm checking, the Hacker News articles don't correctly load. Only shows the URL.
pentanide··on I turned my Kindle into my own personal newspaper
Hello Adham! Great solution, but I'm having an issue using my Paperwhite 7 Generation in the Kindle web browser. When I try to click on any of the already saved feed, a pop up appears showing the following: loadFeed error: 'undefined' is not an object. Maybe you have already encountered an issue like this. Thanks in advance!