Skip to content

Instantly share code, notes, and snippets.

@tallykatt
Forked from fregante/pop-out.js
Created July 24, 2016 23:37
Show Gist options
  • Save tallykatt/a21b4216d4bb523222df18b6a08d55a6 to your computer and use it in GitHub Desktop.
Save tallykatt/a21b4216d4bb523222df18b6a08d55a6 to your computer and use it in GitHub Desktop.
Bookmarklet: Pop out the current window in a small, "mobile" window
javascript:window.open(document.location.href,''+Math.random(),'width=320,height=480,top='+(screen.height/2-480/2+Math.random()*100-50)+', left='+(screen.width/2-320/2+Math.random()*100-50))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment