Re:Browsers barely care what HTTP status code your web pages...
by thrashh on Friday August 11, 2023 @11:18AM
(#37089665)
Why? Because a lot of regular people were tricked into running malicious bookmarklets.
Re:Browsers barely care what HTTP status code your web pages...
by falcor84 on Friday August 11, 2023 @12:40PM
(#37090708)
So could we maybe have them not get any privileges by default, but still work?
Re:Browsers barely care what HTTP status code your web pages...
by starttoaster on Saturday August 12, 2023 @12:13AM
(#37096978)
No privileges by default is often at odds with the goal of having something work, at least out of the box.
But why do bookmarklets run with the security context of the currently opened page? I have one self-written bookmarklet to capture the page title and url into emacs for storing it there. Firefox asks me every time I click on that bookmarklet on a new origin (domain, protocol tuple) whether I want to allow that. With no option to avoid that. I have written this piece of code myself I want to use it to enhance my workflow. There is no need to treat it like any javascript hosted on a CDN, or on a Facebook server.