Closed Bug 1047005 Opened 10 years ago Closed 10 years ago

Web Pages are able to prevent me from running local javascript

Categories

(Firefox :: Security, defect)

30 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 866522

People

(Reporter: mozilla, Unassigned)

Details

Firefox 30.0

Web sites are apparently able to prevent me from running inline javascript (and thus bookmarkletts).

STEPS TO REPRODUCE:

1. Create a bookmark button on the bookmark toolbar with the following URL: javascript:alert('test');
2. Load http://www.github.com
3. Click your bookmark.

RESULT:

Content Security Policy: The page's settings blocked the loading of a resource: An attempt to execute inline scripts has been blocked

EXPECTED:

Web site operators should not be able to remotely operate my computer and prevent me from doing whatever I want to do with my browser.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Thanks. Fixed with security.csp.enable=false
You need to log in before you can comment on or make changes to this bug.