Re:Entire website in a single HTML file
by efreak on Saturday December 25, 2021 @03:23PM
(#29686638)
Wouldn't a user script work just as well for this purpose? `document.querySelectorAll('a').for each(a=>{a.outerHTML=a.innerHTML});`
[ Parent
| on HN ]
Re:Entire website in a single HTML file
by marginalia_nu on Saturday December 25, 2021 @03:39PM
(#29686754)
Sure, that works too. You still get the megabyte pageloads though, and you need to carry the script with you every where you go.