Save settings for allowed objects per site

Bug reports and enhancement requests

Save settings for allowed objects per site

Postby vase2000 » Mon Jun 11, 2012 9:40 am

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
vase2000
 
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Re: Save settings for allowed objects per site

Postby Giorgio Maone » Mon Jun 11, 2012 10:25 am

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
User avatar
Giorgio Maone
Site Admin
 
Posts: 6833
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy

Re: Save settings for allowed objects per site

Postby vase2000 » Sat Jun 23, 2012 5:26 pm

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
vase2000
 
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Re: Save settings for allowed objects per site

Postby Giorgio Maone » Sat Jun 23, 2012 8:48 pm

What did you try, exactly?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
Giorgio Maone
Site Admin
 
Posts: 6833
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy

Re: Save settings for allowed objects per site

Postby vase2000 » Sun Jun 24, 2012 10:49 am

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
vase2000
 
Posts: 3
Joined: Mon Jun 11, 2012 9:34 am

Re: Save settings for allowed objects per site

Postby therube » Mon Jun 25, 2012 4:13 pm

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
User avatar
therube
Ambassador
 
Posts: 4307
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA


Return to NoScript Development

Who is online

Users browsing this forum: No registered users and 3 guests