Bug - font-face blocking breaks NoScript toolbar icon

Bug reports and enhancement requests
Post Reply
sjorford
Posts: 1
Joined: Mon Feb 04, 2013 3:55 pm

Bug - font-face blocking breaks NoScript toolbar icon

Post by sjorford »

I have a bizarre bug with the NoScript icon. When I open http://www.sonsofnoelandadrian.co.uk/, the NoScript icon on the Firefox toolbar goes from:
http://s256.beta.photobucket.com/user/s ... d.png.html
to
http://s256.beta.photobucket.com/user/s ... d.png.html

(screenshots from testing on Firefox Nightly 21.0a1, but I have also reproduced on current Beta and Release versions)

I have NoScript set to:
* Scripts Globally Allowed
* Embeddings: Forbid @font-face
* Apply these restrictions to whitelisted sites too

It just seems to be the font, not Flash or anything - I've reduced the affected page to:

Code: Select all

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Font test</title>
<link href='http://fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<p style="font-family: 'Oswald', helvetica, arial;">Test</p>
</body>
</html>
and still get the bug.

Only the display of the icon is affected - clicking anywhere in that mass of icons opens up the NoScript menu as expected:
http://s256.beta.photobucket.com/user/s ... e.png.html

Error Console:

Code: Select all

Timestamp: 04/02/2013 16:40:37
Error: downloadable font: download not allowed (font-family: "Oswald" style:normal weight:normal stretch:normal src index:2): content blocked
source: .....
(the forum anti-spam filter is stopping me putting the rest of the error message in!)

Tested with NoScript 2.6.4.4rc3, with a brand new Firefox profile with no other extensions installed.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130204 Firefox/21.0
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Bug - font-face blocking breaks NoScript toolbar icon

Post by therube »

Confirmed.

Don't think the font-face has any bearing?
(Well, perhaps it does, but its setting in NoScript seems to have no bearing?)

Simply Allow Globally.

Code: Select all

Error: downloadable font: download not allowed (font-family: "Oswald" style:normal weight:normal stretch:normal src index:2): content blocked
source: http://themes.googleusercontent.com/static/fonts/oswald/v7/-g5pDUSRgvxvOl5u-a_WHw.woff
Source File: http://fonts.googleapis.com/css?family=Oswald:400,700
Line: @font-face {   font-family: "Oswald";   font-style: normal;   font-weight: 400;   src: local("Oswald Regular"), local("Oswald-Regular"), url("http://themes.googleusercontent.com/static/fonts/oswald/v7/-g5pDUSRgvxvOl5u-a_WHw.woff") format("woff"); }
Source Code:
@font-face {   font-family: "Oswald";   font-style: normal;   font-weight: 400;   src: local("Oswald Regular"), local("Oswald-Regular"), url("http://themes.googleusercontent.com/static/fonts/oswald/v7…
(SeaMonkey looks not to be affected. NoScript icon goes onto the [real] Status Bar in SeaMonkey.)

FF is affected regardless of the "bar" the NoScript icon is placed (Navigation, Addon, Menu ...).
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:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17a2
Post Reply