/** * @author https://codepen.io/bookmarklets * @file * Original Source {@link https://cdpn.io/bookmarklets/fullpage/NobJbq#} */ javascript: var innerWidth72043 = document.documentElement.clientWidth; var linkval= "@media all and (max-width:"+ innerWidth72043 +"px) { /* CodeHere */ }"; prompt("Here is the media CSS tag with the browsers current width:",linkval);linkval=null;;