Problem with allowedMimeRegExp
Posted: Tue Jul 23, 2013 2:42 pm
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:
But Font must ALWAYS manually allowed with the Noscript-menu. It seems, that the setting has no function. I also tried FONT@* and others.
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)");