4 ms·
little hint: javascript:$('body').css('margin', '0 200px');
by mattparlane 15y ago
little hint:
javascript:$('body').css('margin', '0 200px');
- MrMatters 15y agoHmm. How long has Chrome removed the 'javascript:' when you paste into a URL bar? I assume it's to prevent users from blindly running JS, but is there a way to disable it?
- csomar 15y agoYou can use the console (CTR+ALT+I)
- harlanlewis 15y agoI actually rather like that 'remove on paste', default to educating/transparency instead of blindly running. Manually typing the prepended 'javascript:' works fine. Don't see any settings to disable (even in chrome://flags). Chrome's Javascript Console would also work.
- nathanhammond 15y agohttps://bugzilla.mozilla.org/show_bug.cgi?id=527530 https://bugzilla.mozilla.org/show_bug.cgi?id=527530 Conversation in that thread implies May or June of this year (2011).
- Dobbs 15y agoOn Firefox you can press: 'View' -> 'Page Style' -> 'No Style'.
- pyrotechnick 15y agoIf you use Chrome, try 'File' -> 'Print...' (Command-P on OSX)
- 20after4 15y agohttp://www.readability.com/bookmarklets http://www.readability.com/bookmarklets