I don't miss them very much. The whole thing was a security nightmare and I am glad Mozilla dropped XUL. I think they truly had to. I get the utility but I suspect writing greasemonkey scripts for SPAs might not be a great experience.
I miss the programmable web (2021)
31–40 of 180 posts
Re: I miss the programmable web (2021)
#32Earlier quoted context omitted.
They aren’t dead but with more and more build systems that obfuscate everything in the page, including CSS classes and IDs, it’s sometimes hard to do something really useful.
Would you mind giving me an example of something you've wanted to do that is really hard (or even nearly impossible) due to the these issues (so I have a standing concrete challenge case)?
Re: I miss the programmable web (2021)
#33How did these user scripts work? I don't get how they could be "blocked" now. I've made my own snippets of JS to run on certain sites before.
Sites can impose a Content Security Policy, that (among other things) can disable inline JavaScript. This makes it a real PITA to modify web sites with user CSS/JS. I am personally aligned with pro-CSP because it can greatly reduce the attack surface of web sites I host, and is quite effective and precise. Browser extensions can, and do, play around CSP. Bookmarklets has no overhead in the browser, because they are j…
Re: I miss the programmable web (2021)
#34IMHO, we need a browser optimized for power or professional user experience (PPUX), instead of browsers optimized for dumb users (DUX).
• https://news.ycombinator.com/item?id=27695463 (2021-07, 96 comments)
• https://news.ycombinator.com/item?id=18830430 (2019-01, 47 comments)
Re: I miss the programmable web (2021)
#35Re: I miss the programmable web (2021)
#36Re: I miss the programmable web (2021)
#37How did these user scripts work? I don't get how they could be "blocked" now. I've made my own snippets of JS to run on certain sites before.
Sites can impose a Content Security Policy, that (among other things) can disable inline JavaScript. This makes it a real PITA to modify web sites with user CSS/JS. I am personally aligned with pro-CSP because it can greatly reduce the attack surface of web sites I host, and is quite effective and precise. Browser extensions can, and do, play around CSP. Bookmarklets has no overhead in the browser, because they are j…
Re: I miss the programmable web (2021)
#38Earlier quoted context omitted.
Sites can impose a Content Security Policy, that (among other things) can disable inline JavaScript. This makes it a real PITA to modify web sites with user CSS/JS. I am personally aligned with pro-CSP because it can greatly reduce the attack surface of web sites I host, and is quite effective and precise. Browser extensions can, and do, play around CSP. Bookmarklets has no overhead in the browser, because they are j…
Why do browsers enforce CSP against bookmarklets and user scripts, though?
Bookmarklets and user scripts are collateral damage.
Re: I miss the programmable web (2021)
#39Earlier quoted context omitted.
They aren’t dead but with more and more build systems that obfuscate everything in the page, including CSS classes and IDs, it’s sometimes hard to do something really useful.
Would you mind giving me an example of something you've wanted to do that is really hard (or even nearly impossible) due to the these issues (so I have a standing concrete challenge case)?