Open a new tab (Bookmarklet Development)

/*--- holy mAcar00ns!! --- */

Whether opening a new tab or new window, you use window.open()


A Quick Tutorial on JavaScript Bookmarklets: "If you wanted to create a bookmarklet to open a new window or tab, you’d do it like this:

javascript:(function(){ window.open(’http://www.cnn.com/’); })();

so the actual bookmarklet link that would appear in your HTML as

CNN"

all your bases ar--

ping moi pleeez


About this entry

pacman is coming

nuck nuck

e belong to us!