Jeff Mesnil
Weblog · Dev · Photos · Books

A bookmarklet to split HTML document within the browser

July 16, 2004

[update: the bookmarklets were broken for a long time but they now work again on Firefox 3 and Safari 3]

In a comment on his blog, I proposed to Cedric a simple solution to spilt a HTML page in two within the browser. It's just a one line JavaScript but it can be handy to use it,

split document in new window -> drag to your bookmark folder

When you want to split a html document, click on the bookmark and you're done (it works on Safari and Firefox)

Cedric then suggested to split the document in the current window. So here come two new bookmarklets: