[RESOLVED] ABE Flash exception?

Discussions about the Application Boundaries Enforcer (ABE) module
Archdeacon
Posts: 2
Joined: Fri Nov 07, 2014 11:46 am
Location: Thailand
Contact:

[RESOLVED] ABE Flash exception?

Post by Archdeacon »

Noscript ABE: I am trying to allow only 1 Flash embedding on a page but now i get a button which I have to click to get the script to run. Is there any way
of having this run automatically or is this the default result?

Site .example.com
Accept from .clocklink.com
Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE Flash exception?

Post by barbaz »

about:config -> noscript.allowedMimeRegExp ?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.4 (KHTML like Gecko) Chrome/22.0.1229.79 Safari/537.4
Archdeacon
Posts: 2
Joined: Fri Nov 07, 2014 11:46 am
Location: Thailand
Contact:

Re: ABE Flash exception?

Post by Archdeacon »

Many thanks, sir. I had missed that one; but a final simple question: what separator do I use to create more than one entry should I eventually need it?
Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: [RESOLVED] ABE Flash exception?

Post by Thrawn »

I believe it's a comma, but try whitespace as well.
======
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
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: [RESOLVED] ABE Flash exception?

Post by barbaz »

Sorry I missed that question before :oops:
It's a regular expression, so basically the separator is "|". So, to specify multiple sites for allowing Flash:

Code: Select all

application/x-shockwave-flash@https?://somesi\.te|https?://someothersi\.te|https?://somethirdsi\.te
("nicer" version: )

Code: Select all

application/x-shockwave-flash@https?://(?:somesi\.te|someothersi\.te|somethirdsi\.te)
To separate multiple mime types, use a single whitespace:

Code: Select all

application/pdf application/x-shockwave-flash@https?://somesi\.te WebGL@https?://someothersi\.te
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Windows NT 6.2; rv:28.0) Gecko/20100101 Firefox/28.0
Post Reply