I am looking to write an extension that will integrate with the Web of Trust API to mark sites with good reputation as trusted automatically.
However, from what I can understand, there is no easy way to integrate with NoScript. What I would need to do is check if a site is on the trusted or untrusted list, and add it to the trusted list if it's not already on either.
Any help would be appreciated.
NoScript seems to use capability.policy.maonoscript.sites as user preference in order to store the allowed sites (see yourself at prefs.js on your firefox profile)... just try reading/inserting in it (hope "@mozilla.org/preferences-service;1" allow it ;))
P.S.: NoScript uses chrome://noscript/content/Sites.js in order to handle these data
Happy Hacking
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With