News for hackers. Stuff that matters.
Re:GNU LibreJS: blocks JavaScript traps by janosdebugs on Monday May 13, 2024 @02:06AM (#40340234)
It also doesn't block well-known libraries. Using this addon sounds like a really good way to have a bad time on the Internet. By the logic of this, why bot block websites which have non-free content or other supporting files?

The whole premise of a website is that the owner gives you a licese of some kind to view it. Blocking only a technical part of it makes no logical sense. It's not like you are going to take the JS code under a free license that is likely dependent on the HTML structure under a non-free license and do stuff with it.

Re:GNU LibreJS: blocks JavaScript traps by gtsop on Monday May 13, 2024 @03:06AM (#40340496)
Your argument about non-free content does not apply to the gnu purposes with this plugin. Free Software is concerned with the problem of "what does my computer compute, what does it do, can i modify it". The content (images, text, video, html structure) on any website is not software
Re:GNU LibreJS: blocks JavaScript traps by janosdebugs on Monday May 13, 2024 @08:40AM (#40342665)
You can do a lot of dark magic with CSS or SVG too. Specifically, CSS has calc too. Website haven't just been documents for a long long time and basically nobody is going to bother keeping any computation in the JS space only.
Re:GNU LibreJS: blocks JavaScript traps by ranger_danger on Monday May 13, 2024 @04:46PM (#40348213)
> The content (images, text, video, html structure) on any website is not software

What about things like htmx that put logic directly into html attributes?