Multiple issues with resources
Posted: Wed Jun 12, 2013 8:42 am
EDIT: this problem can be reproduced only if you block @font-faces also for whitelisted sites. Added text is bold, removed text is struck out.
Steps to reproduce and current results:
3. "Forbid resource" should be displayed only when a resource is allowed. Furthermore I suspect that pdf.js is not a site but a script embedded inside the pdf, and this is not clear what NoScript will allow there.
3. Resource should be allowed if pdf.js is allowed.
5. "Blocked objects" should be renamed to "Allow resources" for consistency. Furthermore is not clear what is the difference between subentries, and why the confirmation popup is displayed only for the first subentry.
8. Document should refresh if a resource changes is allowed status (and if you have the setting).
I tested it on Firefox 21.0 on Linux 32 bit, with NoScript 2.6.6.2
Steps to reproduce and current results:
- In your NoScript Option -> Embeddings, select "Forbid @font-face" and "Apply these restrictions to whitelisted sites too"
- Open this pdf file. Notice that the document font is messed up.
- Go to the Noscript menu. Notice that there's an entry named "Allow pdf.js", and there's a greyed out entry, "Forbid resource:", with no subentries.
- Click on "Temporarily allow all this page". Notice that the document is still messed up.
- Go to "Blocked objects", select one subentry and give "ok" to the eventual popup. Now the document is displayed with the correct font. Notice that "Forbid resource" entry is not changed.
- Click on "Revoke temporary permissions".
- Select one of "Blocked objects" subentried. Notice that document is displayed correctly again.
- Select "Revoke temporary permissions". Nothing happens.
- Manually reload the page. The font now is messed up again
3. "Forbid resource" should be displayed only when a resource is allowed. Furthermore I suspect that pdf.js is not a site but a script embedded inside the pdf, and this is not clear what NoScript will allow there.
5. "Blocked objects" should be renamed to "Allow resources" for consistency. Furthermore is not clear what is the difference between subentries, and why the confirmation popup is displayed only for the first subentry.
8. Document should refresh if a resource changes is allowed status (and if you have the setting).
I tested it on Firefox 21.0 on Linux 32 bit, with NoScript 2.6.6.2