[RESOLVED - ENHANCEMENT] Whitelist embeddings
-
DiPassaggio
[RESOLVED - ENHANCEMENT] Whitelist embeddings
Hi,
I've disabled embeddings for untrusted *and* trusted sites, but I'd like to permanently allow some very trusted sites, is there a way to specify in the whitelist that let's say... all flash embeddings on youtube.com should be allowed while retaining the global setting that disables for everyone else?
What I'd need would be a granular exception of what's allowed and what's not, it's already there, just only temporary under the "blocked objects" menu.
Thanks
I've disabled embeddings for untrusted *and* trusted sites, but I'd like to permanently allow some very trusted sites, is there a way to specify in the whitelist that let's say... all flash embeddings on youtube.com should be allowed while retaining the global setting that disables for everyone else?
What I'd need would be a granular exception of what's allowed and what's not, it's already there, just only temporary under the "blocked objects" menu.
Thanks
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Re: Whitelist embeddings
noscript.allowedMimeRegExp
Code: Select all
application/x-shockwave-flash@https?://s\.ytimg\.comMozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0
Re: Whitelist embeddings
Or the Site-Specific-Permission Questions? PLEASE READ THIS FIRST! post in the Support forum.
======
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.
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:15.0) Gecko/20100101 Firefox/15.0.1
-
DiPassaggio
Re: Whitelist embeddings
Thanks for your help,
is there a syntax reference floating around?
Actually my goal would be to allow iframes from readability.com in order to have their bookmarklet working correctly.
is there a syntax reference floating around?
Actually my goal would be to allow iframes from readability.com in order to have their bookmarklet working correctly.
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
-
DiPassaggio
Re: Whitelist embeddings
I'm not entirely sure this applies to my question, and writing ABE rules out of thin air is definitely out of my league.Thrawn wrote:Or the Site-Specific-Permission Questions? PLEASE READ THIS FIRST! post in the Support forum.
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Re: Whitelist embeddings
Well, the part about NoScript 3.x for the desktop certainly applies...it's coming as fast as Giorgio is able!DiPassaggio wrote:I'm not entirely sure this applies to my question, and writing ABE rules out of thin air is definitely out of my league.
ABE isn't really plugin-specific, as documented in this thread.
======
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.
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:15.0) Gecko/20100101 Firefox/15.0.1
-
DiPassaggio
Re: Whitelist embeddings
That's good to know, it looks very nice.Thrawn wrote: Well, the part about NoScript 3.x for the desktop certainly applies...it's coming as fast as Giorgio is able!
Unfortunately ABE is not flexible.Thrawn wrote: ABE isn't really plugin-specific, as documented in this thread.
I would have to:
- re-enable embeddings for trusted and untrusted sites (this is a big no go)
- block by default everything via ABE
- write an exception for the site I'm interested with
Anyway thanks for the help.
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Re: Whitelist embeddings
You could see how you go with RequestPolicy and possibly the Tab Permissions and Host Permissions addons (although the latter addons are tab-oriented, so they're a bit quirky when you browse from one site to another within the same tab).
======
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.
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:15.0) Gecko/20100101 Firefox/15.0.1
Re: Whitelist embeddings
If you have a basic familiarity with Regular Expressions, just follow dhouwn's model.DiPassaggio wrote:Thanks for your help,
is there a syntax reference floating around?
If not successful, feel free to post back for help with a specific site.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
-
DiPassaggio
Re: Whitelist embeddings
And here I amTom T. wrote: If not successful, feel free to post back for help with a specific site.
This is what I would like to permanently allow: <IFRAME>@https://www.readability.com/articles/queue
otherwise the Readability bookmarklet doesn't work.
Currently I click on the bookmarklet, which brings the iframe, I authorize the iframe and click on the bookmarklet again.
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Re: Whitelist embeddings
Fastest way is to keep all embeddings blocked, but uncheck "Apply these restrictions to whitelisted (trusted) sites too" -- then keep a *very* short, and *very* trusted, whitelist, because you're allowing all plug-ins, etc, not just IFRAME.
I don't think the noscript.allowedMimeRegExp will work here, because OP was about Flash, which is a registered MIME type.
IIRC, IFRAME is not. If I am mistaken, and someone knows how to use this setting for IFRAME, please assist, thanks.
I don't think the noscript.allowedMimeRegExp will work here, because OP was about Flash, which is a registered MIME type.
IIRC, IFRAME is not. If I am mistaken, and someone knows how to use this setting for IFRAME, please assist, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
-
DiPassaggio
Re: Whitelist embeddings
From NoScript 2.5.9 changelog:Tom T. wrote: I don't think the noscript.allowedMimeRegExp will work here, because OP was about Flash, which is a registered MIME type.
IIRC, IFRAME is not. If I am mistaken, and someone knows how to use this setting for IFRAME, please assist, thanks.
+ Added new fake mimetype placeholder "FRAME" to match FRAMEs and IFRAMES
with the noscript.allowedMimeRegExp preference
+ Made mimetype whitelisting through the noscript.allowedMimeRegExp
preference work with FRAMEs and IFRAMEs as well
It works great, thanks Giorgio.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Re: Whitelist embeddings
Yes, I too was very pleased to see that enhancement. 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:16.0.1) Gecko/20100101 Firefox/16.0.1