Permanently unblock a font object

Ask for help about NoScript, no registration needed to post
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Permanently unblock a font object

Post by spartanhooah »

On some sites, their custom glyph font gets blocked as an object, so I, as a relatively new user, can't figure out a way to allow it permanently. This happens on e.g. myhomeworkapp.com. Is there a way to do this that I'm missing? For reference, the blocked object is FONT@https://d1z4qtc4rchehj.cloudfront.net.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

add

Code: Select all

FONT@https?://d1z4qtc4rchehj\.cloudfront\.net
to about:config -> noscript.allowedMimeRegExp
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

That didn't work.

Edit: also, apparently the forum time is two days behind!
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Permanently unblock a font object

Post by therube »

Is the "d1z4qtc4rchehj" part fixed or random?


> forum time

Are you looking at joined vs. post time?
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 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

therube wrote:Is the "d1z4qtc4rchehj" part fixed or random?
It looks like it's fixed.
> forum time

Are you looking at joined vs. post time?
I sure was! I'm not used to the user info being on the right side, I guess.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

I went to that site, and not only do I not see any font object, the cloudfront domain I get doesn't match the one in the OP. Could you please post an exact URL? (wrap in url tags or code tags so that the forum doesn't break your link)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

Oops, I should have realized that you need to log in to get to the page that has the font issue, since it is https://myhomeworkapp.com/home
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

Unfortunately I don't have an account there, so I can't investigate it further, sorry.

Does temporarily allowing the font through the NS menu work?
If so, it's likely just a matter of finding the right allowedMimeRegExp string, but what version of NoScript are you using?
If not, does disabling NoScript get the font to load?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

Temporarily un-blocking the object works. I'm using version 2.6.8.40.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
User avatar
therube
Ambassador
Posts: 7980
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Permanently unblock a font object

Post by therube »

> does disabling NoScript get the font to load?

If it doesn't, then you've got things blocked in FF itself.
Options | Content | Advanced -> Allow pages to choose their own 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:32.0) Gecko/20100101 SeaMonkey/2.29
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

Have you got "Apply these restrictions to whitelisted sites too" checked? If not, can you just whitelist the domain?

Is the cloudfront domain listed in Untrusted? That would make it impossible to permanently unblock the FONT object while you could still temp-allow it.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

barbaz wrote:Have you got "Apply these restrictions to whitelisted sites too" checked? If not, can you just whitelist the domain?
I didn't find this option, but while I was looking for it, I found that the "Forbid @font-face" option was checked. Un-checked it, reloaded the problem page, and I see the proper font now.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

Yes, that would work too, but bear in mind that what you've done there is unblock *all* webfonts in NoScript aka trust *all* webfonts on the Internet not to try to attack your computer.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
spartanhooah
Posts: 9
Joined: Sun Sep 07, 2014 2:30 pm

Re: Permanently unblock a font object

Post by spartanhooah »

barbaz wrote:Yes, that would work too, but bear in mind that what you've done there is unblock *all* webfonts in NoScript aka trust *all* webfonts on the Internet not to try to attack your computer.
Fair enough. Mind helping me find the aforementioned option, then? What section should it be in?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11144
Joined: Sat Aug 03, 2013 5:45 pm

Re: Permanently unblock a font object

Post by barbaz »

noscript options > embeddings
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
Post Reply