Save settings for allowed objects per site

Bug reports and enhancement requests
Post Reply
vase2000
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Save settings for allowed objects per site

Post by vase2000 »

Hi,

I block flash and fonts by default. But when I access youtube.com or github.com I'd like to enable flash on the whole domain youtube.com and the font from github.com on github.com permanently.

Right now I can allow objects just temporary, but I'd like to have the same "save" option for objects as for scripts (i.e. to allow an object permanently instead of just temporarily).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Save settings for allowed objects per site

Post by Giorgio Maone »

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
vase2000
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Re: Save settings for allowed objects per site

Post by vase2000 »

Thanks for your hint, but it does not seem to work. is there a way to debug this?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Save settings for allowed objects per site

Post by Giorgio Maone »

What did you try, exactly?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
vase2000
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Re: Save settings for allowed objects per site

Post by vase2000 »

Okay, I did further debugging.
I have to set disable noscript.forbidActiveContentParentTrustCheck in order to make noscript.allowedMimeRegExp work. Is this the intended behavior?
For me there seems the parentPage missing as a parameter of allowedMimeRegExp.
However, why not make this configurable using the Blocked Objects menu?
Btw. what's the mimetype for "Font"?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Save settings for allowed objects per site

Post by therube »

Appears to be no spec of "Font"?

On http://www.hp.com/ (which doesn't look to be loading ATM, perhaps from my SSRT report?), Error Console shows:

Code: Select all

Timestamp: 06/25/2012 12:07:39 PM
Error: downloadable font: download failed (font-family: "HPSimplified" style:normal weight:normal stretch:normal src index:2): content blocked
source: http://h10180.www1.hp.com/hp-fonts/v1-0/hps-euro-regular-ttf.ttf
Source File: http://www.hp.com/country/us/en/cs/system/styles/cssFiles_jsp_compURI_1237149_1237144_amp_inline_images_yes.css
Line: 0
Source Code:
@font-face {   font-family: "HPSimplified";   font-style: normal;   font-weight: normal;   src: url("http://h10180.www1.hp.com/hp-fonts/v1-0/hps-euro-regular-eot.eot?#iefix") format("embedded-opentype"), url("http://h10180.www1.hp.com/hp-fonts/v1-0/hps-euro-regular-woff.woff") format("woff"), url("http://h10180.www1.hp.com/hp-fonts/v1-0/hps-euro-regular-ttf.ttf") format("truetype"); }
So ... who knows?

"HPSimplified" or hps-euro-regular-woff.woff & hps-euro-regular-ttf.ttf ? With application/ ? With or without x- ?


Proper MIME type for fonts
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120625 Firefox/15.0a2 SeaMonkey/2.12a2
Post Reply