Page 1 of 1

Problem with allowedMimeRegExp

Posted: Tue Jul 23, 2013 2:42 pm
by David44
After I tried many times without success I hope you can help.
I want to block Java and Flash except on 2 sites but always allow Font, PDF, Audio on all whitelisted sites. I think, allowedMimeRegExp should do that. Therefore I set:

Code: Select all

user_pref("noscript.allowedMimeRegExp", "Font audio/x-aiff audio/mpeg audio/mid audio/wav video/avi video/mpeg video/webm application/pdf application/x-shockwave-flash@https?://.*(site1|site2)\\.(com|de) application/x-java-vm@https?://[^/]+\\.(site1.com|site2.de)");
But Font must ALWAYS manually allowed with the Noscript-menu. It seems, that the setting has no function. I also tried FONT@* and others.

Re: Problem with allowedMimeRegExp

Posted: Tue Jul 23, 2013 9:41 pm
by Thrawn
Did you try

Code: Select all

Font@https?://.*
?

Re: Problem with allowedMimeRegExp

Posted: Wed Jul 24, 2013 9:43 am
by Guest
Thrawn wrote:Did you try

Code: Select all

Font@https?://.*
Yes (doesn't work), and you?

Re: Problem with allowedMimeRegExp

Posted: Fri Jul 26, 2013 9:59 am
by David44
Am I the only one who has the problem with "Font"? What could be the reason - is there another setting which I could have overlooked? The other parts of allowedMimeRegExp are doing their job well (Java, Flash). There is no other add-on.

Re: Problem with allowedMimeRegExp

Posted: Sat Jul 27, 2013 7:20 pm
by Giorgio Maone
It's FONT (case sensitive).