Permissions on a per site basis

Bug reports and enhancement requests
Post Reply
nsfan1000
Posts: 2
Joined: Fri May 31, 2013 11:08 am

Permissions on a per site basis

Post by nsfan1000 »

Hi,
I have been using NoScript for years and am grateful that it exists - thank you for making it.
One very frustrating thing though is that NS does not alllow, thru its normal menu, to allow javascripts from certain sites to be run only on certain sites.
Example:
I need js from google.com to run on example.com, but if I allow google.com then its javascript will run on all sites I visit not just example.com
Yes, one can do this with ABE but ABE has the following drawbacks:
It is not at all obvious how to use ABE - there is no mention of it in the right-click menu
A set of commands needed is cryptic - I do not have the interest in learning commands to do this - what if I put in bad commands?

Because I have been using NoScript for years (and I am very happy it is available) and I use the right click menu each and every day to temporarily allow js from certain sites, and then I close and restart my browser to get rid of these permissions to continue surfing, I realize the following:

Because NS does not have a feature from the right click menu to permanently remember permission from certain sites on certains sites, I have probably had to do THOUSANDS of right clicks in NS and restarts of my browser per year.

This becomes an annoying and disapointing realization.

It seems that NS has the functionality to do this thru ABE, why does NS not have an easy UI - eg right click menu item(s) to allow js from certain sites on certain sites?

This would save me and I am sure other users hundreds if not thousands of right clicks and menu selections and restarts per year.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Permissions on a per site basis

Post by therube »

> I close and restart my browser

Temporarily Allow, & when done, Revoke Temporary Permissions.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 SeaMonkey/2.19a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Permissions on a per site basis

Post by Thrawn »

nsfan1000 wrote:It is not at all obvious how to use ABE - there is no mention of it in the right-click menu
Well, it is on the Advanced tab for a reason...and as you say, it is not easy to use.
A set of commands needed is cryptic - I do not have the interest in learning commands to do this - what if I put in bad commands?
Then you will probably break your web browsing experience :D. But you can always erase them and start over.
Because I have been using NoScript for years (and I am very happy it is available) and I use the right click menu each and every day to temporarily allow js from certain sites, and then I close and restart my browser to get rid of these permissions to continue surfing,
May I suggest that you actually do trust these sites that you are temporarily allowing, and that perhaps you should permanently whitelist them?

If you are concerned about trackers etc, then NoScript is not the right tool. You should use something like Adblock Plus or Ghostery.
It seems that NS has the functionality to do this thru ABE, why does NS not have an easy UI - eg right click menu item(s) to allow js from certain sites on certain sites?
Because it is a lot of work. Another moderator and I actually have a side project to do this, but it's not trivial and we've both been busy. If you have JavaScript skills, feel free to help out :).
This would save me and I am sure other users hundreds if not thousands of right clicks and menu selections and restarts per year.
Most of the moderators here use RequestPolicy. You may want to try it out.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0
nsfan1000
Posts: 2
Joined: Fri May 31, 2013 11:08 am

Re: Permissions on a per site basis

Post by nsfan1000 »

@ therube:
> I close and restart my browser

Temporarily Allow, & when done, Revoke Temporary Permissions.
Thank you for this, should have thought of this one myselft, the menu item is obvious

@ Thrawn:
Because I have been using NoScript for years (and I am very happy it is available) and I use the right click menu each and every day to temporarily allow js from certain sites, and then I close and restart my browser to get rid of these permissions to continue surfing,


May I suggest that you actually do trust these sites that you are temporarily allowing, and that perhaps you should permanently whitelist them?
Thank you for the suggestion - my concerne in doing that is that I am then letting javascript from a site run on all sites I visit - and because I dont know what exactly that js contains, I prefer to only have it run on the sites that need it.
If you are concerned about trackers etc, then NoScript is not the right tool. You should use something like Adblock Plus or Ghostery.
Yes I can see that I am trying to use NS as a tracker blocker if I may call it that. I do use Adblock Plus and Ghostery but I have never realy sat down and learned exactly what do each of the 3 addons do. I will do that.
It seems that NS has the functionality to do this thru ABE, why does NS not have an easy UI - eg right click menu item(s) to allow js from certain sites on certain sites?


Because it is a lot of work. Another moderator and I actually have a side project to do this, but it's not trivial and we've both been busy. If you have JavaScript skills, feel free to help out
I'm afraid I am not good at JS, could not help out, sorry.
This would save me and I am sure other users hundreds if not thousands of right clicks and menu selections and restarts per year.


Most of the moderators here use RequestPolicy. You may want to try it out.
I will check it out thanks
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Permissions on a per site basis

Post by Thrawn »

nsfan1000 wrote:
May I suggest that you actually do trust these sites that you are temporarily allowing, and that perhaps you should permanently whitelist them?
Thank you for the suggestion - my concerne in doing that is that I am then letting javascript from a site run on all sites I visit - and because I dont know what exactly that js contains, I prefer to only have it run on the sites that need it.
Not exactly. They will only be allowed to run if the top-level site has been whitelisted. If it is blocked, then everything is blocked, regardless.

So, if I allow blogger.com and google-analytics.com, then when I am at blogger.com, Google Analytics can run. But if I browse to random.com, which wants to run Google Analytics, and I have not allowed random.com, then Google Analytics will not run.

Have fun with RequestPolicy :).
Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0
Post Reply