Bookmark keyword no longer working

User Help for Mozilla Firefox
Post Reply
redrumlive
Posts: 4
Joined: February 28th, 2010, 3:59 pm

Bookmark keyword no longer working

Post by redrumlive »

Hello, I updated from FF60 or FF68 (can't recall and has some other more pressing issues I had to resolve) but am on FF72 right now. I had a multi-site search bookmark like

Code: Select all

javascript:void(window.open('http://site1.com/search/%s'));void(window.open('http://site2.com/?s=%s'));void(window.open('https://site3.com/search.php?q=%s'))
It would open three tabs doing a search for the %s term on each. On FF72 I do this and only one tab with the first site opens. How can I get it to open all three tabs like before?
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Bookmark keyword no longer working

Post by therube »

In SeaMonkey, I get 3 tabs opening.

In Nightly, I get 1 tab opening, which takes focus, then in the initial tab (once you click back), there is a warning that FF blocked 2 pop-up windows.


(You should be glad that simple bookmarklets work - at all. For a long time, even simple ones failed. Thankfully Bz put in a patch to get at least the simple things working - until "they" [Mozilla & Co.] hash out the bigger details [which may very well never happen].)


So yes, quite possible that you're seeing behavior change between 60/68 & 72.0.1.


It looks like, if you toggle the value of dom.block_multiple_popups to 'false', you'll get your 3 tabs.
Now will this allow a rogue site to throw 3 (or more) simultaneous popups at you? Probably.
And why that Pref would affect a bookmarklet instead of just rogue site popups, well that, only your hairdressser knows for sure.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
redrumlive
Posts: 4
Joined: February 28th, 2010, 3:59 pm

Re: Bookmark keyword no longer working

Post by redrumlive »

Thanks, that solution worked. I'll have to take my chances with rogue popups!
User avatar
dickvl
Posts: 54163
Joined: July 18th, 2005, 3:25 am

Re: Bookmark keyword no longer working

Post by dickvl »

See also:
bug 1524137 - Fx65 regression: multiple tabs (beyond the first) opened by js bookmarklets are blocked as popups
Post Reply