How it works: bookmarklets normally die on the first navigation. This one replaces the page with a same-origin iframe pointing at HN, then re-injects CSS on every iframe load. Since the iframe is same-origin, everything (cookies etc) should work normally. I've tested this in Chromium/Linux and Safari/iOS.
Show HN: Hacker News Dark Mode Bookmarklet
- Posted 3 hours ago by gorgonian
- 1 points