Bookmarklets To Change Page Display
A bookmarklet is a small JavaScript program that can be stored as a URL within a bookmark in most popular web browsers, or within hyperlinks on a web page. See a Wikipedia article .Bookmarklets can be used to do all kinds of things on the page after it has been loaded into a browser. For example, change the pages's zoom factor or make table borders visible.
My favorite use of the bookmarklets is to change web page margins. Some web pages, especially created several years ago, occupy the whole screen width. If they contain a lot of text, it's easier to read them with wider margins.
Here are two bookmarklets I created to change the page margins. Each of them increases the margin by 150 px.
Change Left Margin
Change Right Margin
Another set of bookmarklets increases the line height by 50% every time you click use it.
The first one works works for pages without div tags. The second one should be used for pages with div tags.
Body Line Height
Div Line Height
You may need to click twice on the second bookmarklet if a page uses nested tags.
Drag these bookmarklets to your links bar or right-click on them and select the 'Add to Favorites...' command to place them to your Favorites menu. Then you can you them on any web page. Happy reading!
Note: these bookmarklets work in IE only.