Last active
April 2, 2020 13:56
-
-
Save davidwatkins73/05ffd76cab25891ade4a7ef8ceed0ab7 to your computer and use it in GitHub Desktop.
Useful bookmarklets
This file contains 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
// ->|--|<- (Narrow) | |
javascript:w = document._w || 1100; w = w - 100; document.body.style.width = w + "px"; document._w = w; | |
// <-|--|-> (Widen) | |
javascript:w = document._w || 900; w = w + 100; document.body.style.width = w + "px"; document._w = w; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The two bookmarklets above can be used to quickly adjust the document width. This is useful when viewing blocks of text in a wide window (and removes the need for you to resize the window).