Whitelisted @font-face provider, fonts still blocked

Ask for help about NoScript, no registration needed to post
a1tsal
Posts: 2
Joined: Mon May 13, 2013 4:02 pm

Whitelisted @font-face provider, fonts still blocked

Post by a1tsal »

Let's say that I trust that Typekit will not serve malware fonts.

I have whitelisted typekit.com and typekit.net (The .net site seems to be their CDN or something.)

I go to a site that is new to me (example: http://schoolguide.co.uk/) and untrusted by default.

NoScript blocks loading the typekit fonts that are @font-face included by schoolguide.co.uk. (Turning off "Forbid @font-face" in the NoScript Options makes them appear.)

This seems wrong to me.

Is this the intended behavior? Or a bug? Or do I need to do something extra to make it work as I expect?

Thanks!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Whitelisted @font-face provider, fonts still blocked

Post by Thrawn »

Under Options - Embeddings, have you enabled 'Apply these restrictions to whitelisted sites too'? If so, then this is expected behavior.

Also, are these fonts coming from typekit.net, or are they coming from schoolguide.co.uk? What does the Blocked Objects submenu show?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
a1tsal
Posts: 2
Joined: Mon May 13, 2013 4:02 pm

Re: Whitelisted @font-face provider, fonts still blocked

Post by a1tsal »

My mistake—the site uses the Typekit Javascript, but it serves the fonts itself. (I don't know why—this is not the usual Typekit practice.)

No bug here, PEBCAT only :-)

Thanks & sorry!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Whitelisted @font-face provider, fonts still blocked

Post by Thrawn »

No worries :).

Btw, if you don't whitelist the main site, then JavaScript will be blocked on all third-party sites, regardless of whether you whitelisted them. Blocked Objects are different, but it's something to keep in mind.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Post Reply