Sunday, September 15, 2013

Using bookmarklets to open websites in new tabs

Recently, there was a situation where I needed to have a site open in a new tab.  I had to send multiple GET requests to a certain website to show a friend that the received responses were not always the same.  At the time I was using a portable version of the Pale Moon browser (Firefox fork) and didn't want to mess with searching for an add-on that was capable of the task so instead I came up with a simple solution:  Use a bookmarklet and keep visible on the bookmark's bar. That way I could manually tap the bookmark and load multiple tabs of the site I needed. To do that, I just created a bookmark with the location:

javascript:void(window.open("https://[website here]/"));

That's it.

No comments:

Post a Comment