Closed
Bug 249453
Opened 20 years ago
Closed 13 years ago
bookmarklets should be sandboxed from advanced javascript options
Categories
(SeaMonkey :: Bookmarks & History, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 245277
People
(Reporter: glc_bugs, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040623 Firefox/0.9.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040623 Firefox/0.9.0+ The advanced javascript options (dom.disable_window_move_resize, etc.) should not apply to bookmarklets. These options should be for preventing a website from doing what the user doesn't want, not for preventing a user from doing something explicitly. Reproducible: Always Steps to Reproduce: 1. Set dom.disable_window_move_resize to true 2. Bookmark javascript:window.resizeTo(800,600); 3. Click the bookmarklet. Actual Results: Nothing. Expected Results: Resize the window to 800x600. Since this action was explicitly requested by the user it should not be blocked by the set preference.
Comment 1•20 years ago
|
||
A bookmarklet could just as easily be embedded in HTML. In that case, the restrictions should apply. Where are you suggesting that the javascript restrictions can be overruled? Entered from the address bar, called from Bookmarks, or both?
Reporter | ||
Comment 2•20 years ago
|
||
It seems like bookmarklets called from the bookmarks menu or entered directly in the address bar would be reasonable to override the restrictions. Anything within an HTML page, even if it requires a click from the user, should probably stick to the rules.
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•