Hi there,
I've been following LibreJS for a while and even used it at one point.
My experience has been that it constantly breaks or doesn't work.
I think a lot of the complexity lies in the process of parsing license
comments or tags out of web pages and verifying the licenses are free.
Could LibreJS support a simple tag to whitelist all JS on a page?
A minimal example would look like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="fully-free-js" content="yes">
<title>My LibreJS test page!</title>
<!-- include jquery -->
<!-- inline script -->
</head>
<body>
<p>Hello, world!</p>
<!-- inline script -->
</body>
</html>
(Pretend the comments are scripts.)
The advantages of this method:
- Simple to implement in LibreJS
- Really easy for existing projects to implement
- Much less frail than parsing license comments or labels
The disadvantages:
- People could lie about which code is free (they already can)
- CMSes like Wordpress might use it but end-users might include
nonfree scripts which would make it a lie
Any ideas on whether this is a good idea?
Jookia.