Allow scripts selectively to run on webpage?

Ask for help about NoScript, no registration needed to post
emil778
Posts: 9
Joined: Mon Jul 04, 2016 8:49 am

Allow scripts selectively to run on webpage?

Post by emil778 »

Is it possible to choose selectively which script to run on a webpage and which not? I see that there is a option to allow temporarily Blocked Objects, but i don't see such a option for blocked scripts.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Allow scripts selectively to run on webpage?

Post by therube »

Not individual scripts, but by default, individual domains.
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:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
emil778
Posts: 9
Joined: Mon Jul 04, 2016 8:49 am

Re: Allow scripts selectively to run on webpage?

Post by emil778 »

That would be a useful feature because blocking all scripts on the page breaks page rendering on some sites, and allowing only these scripts that are there to make the page render properly will be great.
By the way, what does the option 'Show placeholder icon' do? Because i don't see any placeholder icons on blocked objects and scripts on the page.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
johnscript
Junior Member
Posts: 49
Joined: Wed Feb 20, 2013 1:49 pm

Re: Allow scripts selectively to run on webpage?

Post by johnscript »

You are probably looking for something that uBlock/uMatrix can do.
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Allow scripts selectively to run on webpage?

Post by barbaz »

Yes, as johnscript said, what you are looking for here is a job for a content blocking addon such as Adblock Plus or uBlock Origin. NoScript is a security tool, and in security you either trust a site or you don't, there is no "I trust this script from Site X but not that one also from Site X". The concept makes no sense because an un-trustworthy entity could just move the contents of the scripts around the different files...
*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: Allow scripts selectively to run on webpage?

Post by Thrawn »

For un-breaking sites, you want surrogate scripts.
======
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:47.0) Gecko/20100101 Firefox/47.0
Post Reply