Hi,
I use Vimperator, NoScript, and a bookmarklet provided by Pinboard to save links.
Precisely put, it works when using mouse to click the bookmarklet, however, opening the bookmarklet with Vimperator command (e.g. `:open`) doesn't work unless the current page is allow by NoScript. Already unchecked "Forbid bookmarklets" and added Pinboard to whitelist. No luck. Does anyone know how to fix this?
- Ubuntu 16.04
- Firefox 48
- Vimperator 3.14.0
- NoScript 2.9.0.14
- The bookmarklet I mentioned can be found here: https://pinboard.in/howto/
Please ask if you need other infomation.
Thanks.
NoScript blocks bookmarklet
-
hurley
NoScript blocks bookmarklet
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Re: NoScript blocks bookmarklet
I'm pretty sure that this is not a bug. Bookmarklets execute in the context of the page. If the page is blocked, the bookmarklet will be blocked.doesn't work unless the current page is allow by NoScript
======
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 x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
-
hurley
Re: NoScript blocks bookmarklet
Thanks for your reply.
But why clicking the bookmarklet with a mouse works no matter the current page is blocked or not? Is there any workaround?Thrawn wrote: I'm pretty sure that this is not a bug. Bookmarklets execute in the context of the page. If the page is blocked, the bookmarklet will be blocked.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Re: NoScript blocks bookmarklet
Open what? How do you address the bookmarklet?:open
If you added "popup" (bookmarklet), would it be?
:open popup
?
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 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
-
hurley
Re: NoScript blocks bookmarklet
Open the bookmarklet. I add a keyword to the bookmarklet, so the command will be `:open keyword`. I also map `s` to `:open JavaScript code` in Vimperator, so I only need to press `s`. Both using `:open` directly in location bar and press `s` works fine if the current page is allowed by NoScript.therube wrote: Open what? How do you address the bookmarklet?
If you added "popup" (bookmarklet), would it be?
:open popup
?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Re: NoScript blocks bookmarklet
*Always* check the changelogs BEFORE updating that important software!
-
-
hurley
Re: NoScript blocks bookmarklet
Read that before, seems not the same problem.barbaz wrote:viewtopic.php?f=7&t=21641
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0