Created
October 28, 2013 15:16
-
-
Save 5310/7198609 to your computer and use it in GitHub Desktop.
A (misleadingly verbose) bookmarklet that further cleans the already minimal Notepad.cc interface, locks the zoom, and smallifies the text for easier and horizontal-scroll-free editing in mobile browsers (for me, anyway). #bookmarklet #theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){document.getElementsByTagName('head')[0].innerHTML+='<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">';document.getElementsByTagName('head')[0].innerHTML+='<style text="text/css"> #promo { display: none; } .stack, .layer_1, .layer_2, .layer_3 { top: 0; bottom: 0; left: 0; right: 0; } .layer_1, .layer_2, .layer_3 { top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; } #contents { font-size: 0.8em; } #controls { height: 20px; bottom: 0px; font-size: 0.6em; } </style>'})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment