NoScript blocks bookmarklet

Ask for help about NoScript, no registration needed to post
hurley

NoScript blocks bookmarklet

Post by hurley »

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.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript blocks bookmarklet

Post by Thrawn »

doesn't work unless the current page is allow by NoScript
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.
======
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

Post by hurley »

Thanks for your reply.
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.
But why clicking the bookmarklet with a mouse works no matter the current page is blocked or not? Is there any workaround?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
User avatar
therube
Ambassador
Posts: 7979
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript blocks bookmarklet

Post by therube »

:open
Open what? How do you address the bookmarklet?
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

Post by hurley »

therube wrote: Open what? How do you address the bookmarklet?
If you added "popup" (bookmarklet), would it be?

:open popup

?
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.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
barbaz
Senior Member
Posts: 11141
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript blocks bookmarklet

Post by barbaz »

*Always* check the changelogs BEFORE updating that important software!
-
hurley

Re: NoScript blocks bookmarklet

Post by hurley »

Read that before, seems not the same problem.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Post Reply