javascript:alert(document.body.innerHTML); javascript:document.body.innerHTML="<plaintext>"+document.body.innerHTML
From MDN[1]:> The <plaintext> HTML element renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text.
You could use the <pre> tag, but that can be "escaped" from if a </pre> tag exists on the page. Escaping the angle brackets with < and > would fix it, but <plaintext> is more elegant IMO.
[0]: https://html.spec.whatwg.org/#plaintext-state
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pl...
Notice on the bug report that the reproduction steps include setting a "DeveloperToolsDisabled" registry entry. Curl / wget wouldn't always be accessible in this kind of locked down setup (and they're probably trying to make it difficult even if it's impossible to block completely).
It's nearsighted to the point of disbelief.
Just saying. Apart from drug addicts doing blunt cybercrimes, I find the most creapy things are done by devs that got used to a big paycheck -- additionally, sometimes got fkd in academia before and just became a well trained cynic.
You could also install another browser if that was allowed.
Certainly seems like we'll need tools which don't close things off like this.