Page 1 of 1

Reject all except

Posted: Fri Jan 09, 2015 2:40 pm
by Ed
Hi,

Let's say I'm in a video streaming website.
I temporarily allow all scripts until I finally get the video to stream.
Would it be possible to then, probably by hovering over the video element, remove all temporarily allowed scripts, except the ones that make the video stream work?

Thank you,
Ed.

Re: Reject all except

Posted: Sat Jan 10, 2015 7:22 am
by barbaz
That would require digging around in each individual site's scripts and seeing what portions of the script are for the video and what's for other stuff.
I think it is not technically possible to automate that generically.

You may be able to get sort of what you want on some sites by temporarily allowing the needed sites, then using Revoke Temporary Permissions without reloading the video page? (Play with about:config > noscript.autoReload* prefs to fine tune the auto reload behavior to suit this scenario / how you would prefer it. Note that that suggestion only would work if the video player requires JS to *initialize* but does not need JS to *run*)

Re: Reject all except

Posted: Wed Jan 14, 2015 6:36 pm
by Guest
Thank you for replying!

Re: Reject all except

Posted: Wed Jan 14, 2015 11:09 pm
by Thrawn
It's a bit like mixing a bunch of ingredients together and then asking a computer to determine which ones were responsible for a particular flavor. A human might be able to answer, but a computer will have great difficulty.