[RESOLVED] Need help allowing objects in allowedMimeRegExp

Ask for help about NoScript, no registration needed to post
wupna
Junior Member
Posts: 20
Joined: Tue Nov 01, 2011 2:08 pm

[RESOLVED] Need help allowing objects in allowedMimeRegExp

Post by wupna »

Hi everyone,

I know there are already topics about this and I'm sorry for any redundancy. I tried to set up rules in about:config -> noscript.allowedMimeRegExp in hopes to permanently allow blocked objects like flash on certain domains, but I just can't get it to work. A good example is:

Code: Select all

shockwave-flash@https?://.*\.spiegel\.de
Check out this video url as an example. Is there something wrong with the RegEx I use? I'm honestly not very experienced in this regard. Or do I have to do something differently (or additionaly) in order to allow the flash content?

In NoScript options > Embeddings I have Adobe Flash forbidden if that helps :?

Btw, putting image/vnd.djvu (only that, without domain) into noscript.allowedMimeRegExp works just fine: All DjVu-files will turn up in the reader-plugin immediately without any problems.

Thank you
Mozilla/5.0 (Windows NT 5.1; rv:49.0) Gecko/20100101 Firefox/49.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Need help allowing objects in noscript.allowedMimeRegExp

Post by barbaz »

The MIME type for Flash is

Code: Select all

application/x-shockwave-flash
*Always* check the changelogs BEFORE updating that important software!
-
wupna
Junior Member
Posts: 20
Joined: Tue Nov 01, 2011 2:08 pm

Re: Need help allowing objects in noscript.allowedMimeRegExp

Post by wupna »

Oh my :oops: Yes, this works now! Thank you.
Mozilla/5.0 (Windows NT 5.1; rv:50.0) Gecko/20100101 Firefox/50.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Need help allowing objects in noscript.allowedMimeRegExp

Post by barbaz »

You're welcome! Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply