Probably unrelated but I really like Firefox’s reader mode for reading pages without the JS and CSS. It also works, and where I find it most useful, to render news stories and escape the JavaScript paywall.
So trying this at home, his prolog html used <!doctype><html> which renders incorrectly in Firefox Dev Edition. I found that changing that to <!doctype html><html> seems to work.
Probably unrelated but I really like Firefox’s reader mode for reading pages without the JS and CSS. It also works, and where I find it most useful, to render news stories and escape the JavaScript paywall.
Somewhat relatedly, Maciej Cegłowski’s classic Chickenshit Minimalism.
So trying this at home, his prolog html used
<!doctype><html>which renders incorrectly in Firefox Dev Edition. I found that changing that to<!doctype html><html>seems to work.Correct,
<!doctype>is not a proper doctype string.<!doctype html>lets the browser know you’re using HTML5.I assume CPython is being benchmarked here, what is the performance difference vs pypy?
More generally it’s weird to measure by performance when that wasn’t something you built for in the first place.
I imagine he’s just noting it because it was probably a visible difference.
This is a brilliant idea; I’m going to have to play with the source after I get out of work.
reminds me of proxomitron, a popular page-rewriting proxy from back in the windows era.