Group: Free Software Foundation/Tasks/ModifyNoScript

From LibrePlanet
Jump to: navigation, search
m (changed link of dmonhntr's extension)
(added trivialness script and updated freescript version)
Line 51: Line 51:
 
dmonhntr's Modified NoScript:
 
dmonhntr's Modified NoScript:
  
* http://webpages.charter.net/kidzplay/NoScript/FreeScript/freescript%20v0.0.1.xpi (should now run alongside NoScript)
+
* http://webpages.charter.net/kidzplay/NoScript/FreeScript/freescript%20v0.1.0.xpi (updated 18:50, 4 September 2010 (UTC))
  
 
dmonhntr's Test Files:
 
dmonhntr's Test Files:
Line 60: Line 60:
  
 
* http://webpages.charter.net/kidzplay/NoScript/script.htm
 
* http://webpages.charter.net/kidzplay/NoScript/script.htm
 +
 +
dmonhntr's Trivialness Script:
 +
 +
* http://webpages.charter.net/kidzplay/NoScript/trivial.htm
  
 
If you have any questions about the dmonhntr stuff above, just email me (dmonhntr) at address above.
 
If you have any questions about the dmonhntr stuff above, just email me (dmonhntr) at address above.

Revision as of 14:50, 4 September 2010

The task

Modify NoScript so it can detect and block nontrivial nonfree JavaScript code


NoScript needs to do

  • If the Javascript code in the page is trivial, then it is ok.
  • If the Javascript code carries a recognized free license. it is ok
  • Otherwise, reject it.

The definition of nontrivial:

1. It makes an AJAX request

2. It defines a method

3. It is loaded as or loads an external script

(I would add: 4. It accesses or creates a cookie or any other form of local storage -Caz)

(http://www.gnu.org/philosophy/javascript-trap.html)

Interested parties

(Add your name, perhaps a link to your userpage) and some way for people to contact you.

User:nvjacobo jacobo[at]gnu[dot]org

Caz Downing-Bryant User:Vonkow/Profile caz[at]vonkow[dot]webfactional[dot]com

dmonhntr kt54speed-at-ymail-dot-com

Edit: Moved thoughts to discussion page -Caz

Info

You can download the source code of noscript here:

It seems to be written in javascript, and the majority of the code is in a zip-file called noscript.jar in the "chrome" directory.

(RequestWatchdog.js seems to be the file that checks requests, and may be the one that we need to modify -Caz)


dmonhntr's Modified NoScript:

dmonhntr's Test Files:

dmonhntr's Test Page:

dmonhntr's Trivialness Script:

If you have any questions about the dmonhntr stuff above, just email me (dmonhntr) at address above.