Page 1 of 1

"open all in tabs"

Posted: Thu May 13, 2010 4:20 am
by ayu
Hello,

Using Firefox 3.6.3, noscript 1.9.9.69

When using "open all [bookmarks] in tabs", javascript bookmarklets do not run. If I hit enter on the address bar after opening all the bookmarks, they run. If I open them individually, they run. On my old machine, bookmarklets would run after "open all in tabs"; sorry, don't remember the version, but it was maybe 6-8 months old.

Are there any settings I could change to get it to run like before?

Thanks!
Ayu

Re: "open all in tabs"

Posted: Thu May 13, 2010 9:45 pm
by Giorgio Maone
Unfortunately there's currently no work-around for this problem.
I'll see if situation can be improved in a future release.

Re: "open all in tabs"

Posted: Thu May 13, 2010 10:33 pm
by Giorgio Maone
Upon further analysis, I'd say there's no feasible solution which doesn't involve allowing scripts globally at least for bookmarklet execution timespan (since a change in Firefox 3.x made it impossible running bookmarklets on about:blank with scripts globally forbidden).
This is clearly not an acceptable solution from a security standpoint, since during an "open all in tabs" action etherogeneous resources may be loaded.

May I ask you some details about your use case? Why would you want to run multiple bookmarklets all together on empty pages?

Re: "open all in tabs"

Posted: Fri May 14, 2010 3:27 pm
by ayu
Hi Giorgio,

Thank you for your replies. I call them "bookmarklets" for lack of a better word. Basically, I use javascript to check the date, do some calculations, and load the correct webpage that I need from that.

It *does* work when I have an empty window open (i.e. about:blank) and I click on just one "bookmarklet". It's only when I try to open all in tabs that it doesn't work.

Best regards,
Ayu

Re: "open all in tabs"

Posted: Fri May 14, 2010 3:37 pm
by Giorgio Maone
ayu wrote:Basically, I use javascript to check the date, do some calculations, and load the correct webpage that I need from that.
Unfortunately there's no easy fix. The single launch works because NoScript patches the bookmark-launching system in order to make bookmarklets work even though JavaScript is disabled. As I said, this can't work for multiple simultaneous bookmarklets.

A work-around may be using a local HTML file to execute those scripts.