Closed Bug 1685137 Opened 5 years ago Closed 5 years ago

NoScript's DEFAULT preset blocks web-fonts.

Categories

(Firefox :: Extension Compatibility, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: whimboo, Assigned: ma1)

Details

Attachments

(1 file)

Attached image Screenshot

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0 ID:20210104172545 with NoScript 11.1.17

If Javascript it not allowed for a domain Unicode characters are not displayed, at least when specified as content: in a ::before CSS declaration.

Here an example (also see the screenshot):
https://dict.leo.org/englisch-deutsch/script

content: "\f12e";

Giorgio, could you please have a look? Thanks.

The problem is not NoScript preventing Unicode rendering (F12E is not a valid unicode character, anyway) but its DEFAULT preset blocking web fonts as a potential attack surface.
Since those (invalid) code points are rendered by the "icon" web-font, you cannot see them until you allow it to load, either by setting the site to TRUSTED or, in order to keep scripts disabled, just by switching from DEFAULT to CUSTOM and checking the "font" capability.

Assignee: nobody → g.maone
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Summary: Firefox doesn't display Unicode characters when scripts are blocked on a page with NoScript → NoScript's DEFAULT preset blocks web-fonts.

Oh I see. I didn't notice this option yet even that I'm using NoScript for a while. Enabling fonts for that site and keeping scripts blocked works just fine. Thanks.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: