I think almost from the beginning of Firefox it was possible to create keyword JavaScript bookmarklets that open multiple tabs. I would like to impress that this is a very useful and important feature, the loss of which is a major regression, so here are a few examples:
Search multiple web search engines:
Code: Select all
javascript:open('http://www.google.com/search?q=%s','_self');open('http://www.bing.com/search?q=%s');open('http://search.yahoo.com/search?p=%s');open('http://www.altavista.com/web/results?q=%s');open('http://www.ask.com/web?q=%s');
Code: Select all
javascript:open('http://www.google.com/search?q=cache:%s','_self');open('http://www.bing.com/search?q=url:%s');open('http://search.yahoo.com/search?&p=url:%s');open('http://redirect.nyud.net/?url=%s');open('http://web.archive.org/*dc_ir_/%s');
Code: Select all
javascript:open('http://www.pricegrabber.com/search.php?form_keyword=%s','_self');open('http://www.amazon.com/s/?index=blended&field-keywords=%s');open('http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&Description=%s');open('http://www.google.com/products?q=%s');open('http://www.bing.com/shopping/search?q=%s');open('http://shopping.yahoo.com/search?p=%s');
After upgrading my profile to FF3 I discovered these bookmarklets no longer worked, the window.opens were being blocked as popups and turning off popup blocking (not a viable option) restored their functionality. I was not able to reproduce the problem with a clean profile and then went through a process of eliminating variables and finally narrowed it down to, believe it or not, the size of the places database, meaning that:
- I start with a clean profile and bookmarklets work
- I drop in my large places.sqlite, bookmarklets break
- I reduce the size of places db, by first clearing history (insufficient) then deleting some large number of bookmarks (doesn’t matter which) and bookmarklets work again
- I even found a more or less exact threshold where I could add a few random bookmarks and the bookmarklets would stop working, remove a few bookmarks and they would work again