Enhancement: Allow javascript within Bookmarks
Posted: Fri Jan 14, 2011 6:58 pm
With Firefox, you can have a bookmark open into a new windows by
changing it propeties:
For Example, to have the bookmark for:
http://slashdot.org/
Always open in a new window, change its bookmark property to:
javascript:void(window.open('http://slashdot.org/'));
Now a single left click with your bookmarks on Slashdot
will open http://slashdot.org/ in a new window.
NoScript will correctly open the bookmark into a new window
if scripting is allowed on the currently displayed page.
If scripting is not allowed, clicking on the bookmark is ignored.
Is there a way for NoScript to consistently ignore or allow
javascript:void(window.open()) in bookmarks irregardless of
what page is currently displayed in the browser.
I can explain more if needed.
PS - Ii has been suggested that Firefox allow the user make
"open bookmarks in a new window" the default. But so far
the suggestion has been ignored/rejected.
changing it propeties:
For Example, to have the bookmark for:
http://slashdot.org/
Always open in a new window, change its bookmark property to:
javascript:void(window.open('http://slashdot.org/'));
Now a single left click with your bookmarks on Slashdot
will open http://slashdot.org/ in a new window.
NoScript will correctly open the bookmark into a new window
if scripting is allowed on the currently displayed page.
If scripting is not allowed, clicking on the bookmark is ignored.
Is there a way for NoScript to consistently ignore or allow
javascript:void(window.open()) in bookmarks irregardless of
what page is currently displayed in the browser.
I can explain more if needed.
PS - Ii has been suggested that Firefox allow the user make
"open bookmarks in a new window" the default. But so far
the suggestion has been ignored/rejected.