MathewWi / notscripts

Automatically exported from code.google.com/p/notscripts
Other
0 stars 0 forks source link

Feature - Separate whitelist/blacklist for External Scrips #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Let me elaborate on this,

Currently we simply withe-list thee domains which can wither match the site 
you're browsing or that!

This means that if I allow "google.com" If I'm browsing "www.mysite.com" and it 
point to an external resource on "google.com" it will be allowed!

But what if I wanted to allow scripts from "google.com" only if I'm indeed 
browsing google.com domain pages?

What I'm proposing is not to change the default behavior of the extension, but 
perhaps add an optional setting for this, and if enabled, when we set an 
"allow/temp" it save the "domain" to whitelist but also the current page you're 
in and the match would validate the two!

Meaning only allow "google.com" if I'm on page "example.com".

Is this viable?

Thanks

Original issue reported on code.google.com by miguelmc...@gmail.com on 12 Apr 2014 at 5:44