Feature Request allow/block scripts based on origin

Bug reports and enhancement requests
Post Reply
simpleme
Posts: 6
Joined: Sat Aug 07, 2010 10:21 pm

Feature Request allow/block scripts based on origin

Post by simpleme »

I know this can probably be done by editing ABE rules, but more complicated and would probably require constant editing instead of using the status icon menu. Some sites use scripts from themselves, and some sites use scripts from other locations. Currently you can only allow/block scripts based on where it is from, but now what site is using it. If mysite.com has scripts from google.com, then Allow google.com not only affects mysite.com, but also allows it for othersite.com.

What I would like to be able to do is to allow or disallow based not only on the location but on who is using it. I'd like to for instance allow scripts from google.com for google pages, but for other pages that may include scripts from google.com, still block unless I want to temporarily allow in the status icon menu as it currently does.

If a rules system were used for white lists/black lists, it could look like this:

From *.google.com for *.google.com allow all (allow scripts, objects, java, etc from google.com as long as it is for a google.com page)
From *.youtube.com for * allow (scripts, objects) (allow scripts and objects from youtube.com for any page)

The tray icon could have some additional entries:

Allow google.com
Allow google.com for google.com
Temporarily allow google.com
Temporarily allow google.com for google.com

Maybe another idea is to base the default rule on the ABE entries, and then if no result is available, result to the whitelist/untrusted/etc settings:

Site google.com
Accept all from google.com

When visiting a google.com site, this would default to allowing scripts from google.com. When visiting another site that uses google.com, it would fall back to other settings and allow it to be temporarily allowed in the status icon menu.

Just an idea.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9
neo777
Posts: 2
Joined: Fri Sep 17, 2010 12:54 pm

Re: Feature Request allow/block scripts based on origin

Post by neo777 »

This is a good idea, i came here to say but you do it before, i have another exemple for that, a few days i go to a web site and i see my name and picture of Facebook on this web side (i have a account in face book and don't block the script for www.facebook) but i don't want to see my name and picture to another web site i don't want to allow, but if i block on this web site i visit (the same script than facebook use on her web site), all web site i want to allow are not work correctly.

Thanks for your's great programme.
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0C)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Feature Request allow/block scripts based on origin

Post by Giorgio Maone »

neo777 wrote:This is a good idea, i came here to say but you do it before, i have another exemple for that, a few days i go to a web site and i see my name and picture of Facebook
FAQ about selectively blocking Facebook
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
neo777
Posts: 2
Joined: Fri Sep 17, 2010 12:54 pm

Re: Feature Request allow/block scripts based on origin

Post by neo777 »

Giorgio Maone wrote:
neo777 wrote:This is a good idea, i came here to say but you do it before, i have another exemple for that, a few days i go to a web site and i see my name and picture of Facebook
FAQ about selectively blocking Facebook
Thanks for this, but it is not just for Facebook, and this rule is hard to do it each time we visit a web page. I visit a lot web pages, and want to use easilly and rapididly accept or block script.

But at the firts post :

The tray icon could have some additional entries:

Allow google.com
Allow google.com for google.com
Temporarily allow google.com
Temporarily allow google.com for google.com

It's very good and easier like the rest of your plug-in to use, to block, allow, allow temporary, etc...

thanks
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0C)
Post Reply