Quickly allow blocked content?

Ask for help about NoScript, no registration needed to post
craibuc

Quickly allow blocked content?

Post by craibuc »

Is there a way to quickly enabled blocked content (e.g. a video) without having to allow scripts on the entire page? For example, I'd like to enable the video on this page (http://www.confreaks.com/videos/659-rub ... ck-objects) without allowing the page's other content.

Currently, I have to enable one site at a time until the desired content loads. It would be great if I could right click the content and choose "allow blocked content temporarily".
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Firefox/33.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Quickly allow blocked content?

Post by barbaz »

There is no such feature, and I don't think it's techically possible anyway.

The closest you could get to the end result you're looking for is to copy the relevant JS into surrogate script(s); however, that would take a lot more time than figuring out the needed permissions.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28.2-unofficial-1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Quickly allow blocked content?

Post by Thrawn »

NoScript isn't a general-purpose content blocker. If you trust confreaks.com enough that you're willing to run MP4 content from them, then you should trust them to run JavaScript too, from a security standpoint.

If you want nuisance-blocking, then Adblock Plus or a similar tool may be helpful. Someone recently mentioned Policeman, but I haven't yet tried it myself.
======
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:33.0) Gecko/20100101 Firefox/33.0
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Quickly allow blocked content?

Post by therube »

Isn't that particular clip going to play without allowing anything (perhaps after clicking a placeholder) - once you get it to actually "play" in FF - IOW having a proper codec (which perhaps OpenH264 is not yet?) or setting particular Prefs in about:config?
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:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Quickly allow blocked content?

Post by therube »

or setting particular Prefs in about:config
No need to allow anything.
Toggle the Pref: media.peerconnection.video.h264_enabled
Play your clip.

(That will work in Windows, probably anything > XP. Mac/Linux might be different?)
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:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Quickly allow blocked content?

Post by therube »

> No need to allow anything.

True.

> Toggle the Pref: media.peerconnection.video.h264_enabled

And now not even that is needed.
(I thought it odd when I tried it earlier.)

Something changed on the website?
Now I'm getting Flash, the other day I was not.
Perhaps the Pref may have helped the other day, but now with Flash, no need for anything.
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:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30
Post Reply