How to create list of temporary permissions to toggle on/off

Ask for help about NoScript, no registration needed to post
armando muspench
Posts: 1
Joined: Fri Jan 22, 2016 7:47 pm

How to create list of temporary permissions to toggle on/off

Post by armando muspench »

Question: How to create list of temporary permissions to toggle on/off by individual page, using list shown by Options button?

On a few pages that allow reader comments, I want to click NoScript's Options button, then click a customized Temporarily allow choice that permits multiple sites at one time instead of clicking those multiple sites to permit them individually.

Ideally, that customized Temporarily allow choice, which would be a permitted-site list I created, would appear in the same list NoScript always generates
to show what scripts are running on any one page.

Right now, I only need to turn one script on and off (site is gigya.com, needed to post a comment just like I had to enable google.com in NoScript to post this comment).

You might wonder why I don't just click the Options button and Temporarily allow gigya, which would require the same one click after clicking Options.

The answer is that until I click Temporarily allow for google, let tab/page reload, then click Temporarily allow for google-analytics and let tab/page reload again, I don't see gigya in the Options list.

That's why I'd love to make a customized Temporarily allow site list that gets straight to the point by allowing gigya, while leaving my blocking of google and google-analytics untouched.

Right now, I'm permitting two unwanted sites (google and google-analytics) in order to reach gigya, then revoking permissions for the unwanted sites while keeping permission for gigya, then commenting, then revoking permission for gigya when I'm done.

I love NoScript and I'm genuinely grateful for everything it can do, but it would save me SO much time to turn that customized list one & off I have to ask whether it can be done.

Many thanks for any help-- it's much appreciated. P.S. I know I tend to overly lengthy comments/posts, so I bolded the most important points.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to create list of temporary permissions to toggle on

Post by barbaz »

What you are asking is technically impossible, sorry. The gigya script does not exist in the web page until you Temp-Allow those other two scripts - those scripts are either themselves responsible for loading gigya, or they are required by the script(s) that load gigya.
The closest you can get is Cascading permissions mode, where all scripts on a page inherit the permission of the top-level site (except scripts you Mark as Untrusted, which will never be (Temp-)Allowed).


Side note: you should never need to Allow google-analytics because NoScript provides surrogate script for it. There is however a known issue with the google-analytics surrogate atm, so stay tuned..
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: How to create list of temporary permissions to toggle on

Post by Thrawn »

If you are willing to use a second extension to help out, then you could try uMatrix.

What you would do is something like this:
  • Permanently allow gigya in NoScript;
  • Globally allow all in uMatrix;
  • Globally deny gigya in uMatrix;
  • Allow gigya in uMatrix only for the specific scope of the website(s) where you want it.
Feel free to ask if you have any difficulty navigating uMatrix; it's complex, with many options, and can take some getting used to. Once you get used to it, though, it's very flexible and quite consistent.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Post Reply