I have created couple of bookmarks which use JavaScript:
javascript:void(location.href='http://advisor.wmtransfer.com/search.as ... n.hostname)
javascript:void(location.href='https://web.archive.org/web/*/'+location.hostname)
When I am on some web-page I may want to check advisor's information about the site or to check old cached copy of the web-page by clicking on these bookmarks.
The problem is when some site is not in NoScript's whitelist bookmark isn't opened because of javascript deny.
I don't want to allow Javascript for every site when I want to click to these bookmarks.
Is there any good solution for such a problem?
[RESOLVED] JavaScript in bookmarks
-
TestUser001
[RESOLVED] JavaScript in bookmarks
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: JavaScript in bookmarks
Ordinarily NoScript will allow bookmarklets to run. Giorgio, is that broken in recent Firefox?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0
Re: JavaScript in bookmarks
They should be working.
Checking the second & it seems to be.
Anything relevant noted in Error Console?
Disable all other extensions & see if the issue persists.
If it does, then as a test, create a new, clean Profile. Install NoScript & test.
Checking the second & it seems to be.
Anything relevant noted in Error Console?
Disable all other extensions & see if the issue persists.
If it does, then as a test, create a new, clean Profile. Install NoScript & test.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: JavaScript in bookmarks
NoScript version?
Anything related in the Browser Console (Ctrl-Shift-J)?
So as a suggestion, try removing the "void()" wrapper and replacing it with a trailing ";void(0);" if needed
Anything related in the Browser Console (Ctrl-Shift-J)?
I use the following bookmarklet to do that:TestUser001 wrote:javascript:void(location.href='https://web.archive.org/web/*/'+location.hostname)
Code: Select all
javascript:location.href='http://web.archive.org/web/*/'+document.location.href;*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 SeaMonkey/2.28
-
TestUser001
Re: JavaScript in bookmarks
I've figured out
that I have an option "Deny Bookmarklets" checked.
http://storage8.static.itmages.ru/i/14/ ... f51e54.png
After I uncheck it everything works OK!
Thanks.
http://storage8.static.itmages.ru/i/14/ ... f51e54.png
After I uncheck it everything works OK!
Thanks.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: [RESOLVED] JavaScript in bookmarks
(your picture link broke)
But yes, if you had Options | Advanced | Untrusted -> Forbid bookmarklets checked, that would do it
.
But yes, if you had Options | Advanced | Untrusted -> Forbid bookmarklets checked, that would do it
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1