[Feature request] about:config setting for @font-face
Posted: Wed Jun 06, 2012 9:40 pm
Hi all,
I block all plugin/font content by default, even for trusted sites.
Since some day, github.com decided to use fonts for their icons. This resulted in an ugly "1" being displayed instead of a "Settings" icon for example.
The solution to that is opening the NoScript menu and unblock the font under "Blocked objects". The next time the browser restarts, this setting is gone.
Please make it possible to permanently allow the specified resource or add an about:config option as done for
noscript.allowedMimeRegExp. Setting application/x-font-ttf@https://a248\.e\.akamai\.net
as value for the aforementioned setting does not work, possibly because it only applies to plugins.
Below is an extract of the stylesheet:
I am using Firefox 13 with NoScript 2.4.4.
Thanks,
Lekensteyn
I block all plugin/font content by default, even for trusted sites.
Since some day, github.com decided to use fonts for their icons. This resulted in an ugly "1" being displayed instead of a "Settings" icon for example.
The solution to that is opening the NoScript menu and unblock the font under "Blocked objects". The next time the browser restarts, this setting is gone.
Please make it possible to permanently allow the specified resource or add an about:config option as done for
noscript.allowedMimeRegExp. Setting application/x-font-ttf@https://a248\.e\.akamai\.net
as value for the aforementioned setting does not work, possibly because it only applies to plugins.
Below is an extract of the stylesheet:
Code: Select all
@font - face
{
font - family: 'Octicons Regular';
src: url("https://a248.e.akamai.net/assets.github.com/fonts/octicons/octicons-regular-webfont.eot?639c50d4");
src: url("https://a248.e.akamai.net/assets.github.com/fonts/octicons/octicons-regular-webfont.eot?639c50d4#iefix") format("embedded-opentype"),
url("https://a248.e.akamai.net/assets.github.com/fonts/octicons/octicons-regular-webfont.woff?0605b255") format("woff"),
url("https://a248.e.akamai.net/assets.github.com/fonts/octicons/octicons-regular-webfont.ttf?f82fcba7") format("truetype"),
url("https://a248.e.akamai.net/assets.github.com/fonts/octicons/octicons-regular-webfont.svg?1f7afa21#newFontRegular") format("svg");
font - weight: normal;
font - style: normal;
}
Thanks,
Lekensteyn