bug-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-librejs] Using a simple <meta> tag


From: Jookia
Subject: [Bug-librejs] Using a simple <meta> tag
Date: Tue, 18 Sep 2018 02:08:33 +1000
User-agent: Mutt/1.10.1 (2018-07-13)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]