Page 1 of 1

Save settings for allowed objects per site

Posted: Mon Jun 11, 2012 9:40 am
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).

Re: Save settings for allowed objects per site

Posted: Mon Jun 11, 2012 10:25 am
by Giorgio Maone

Re: Save settings for allowed objects per site

Posted: Sat Jun 23, 2012 5:26 pm
by vase2000
Thanks for your hint, but it does not seem to work. is there a way to debug this?

Re: Save settings for allowed objects per site

Posted: Sat Jun 23, 2012 8:48 pm
by Giorgio Maone
What did you try, exactly?

Re: Save settings for allowed objects per site

Posted: Sun Jun 24, 2012 10:49 am
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"?

Re: Save settings for allowed objects per site

Posted: Mon Jun 25, 2012 4:13 pm
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