When a long link gets posted in the forum, the forum software often stretches all the text on that page out so you have to scroll sideways to read the posts.
This little workaround from the firefox forum will let you click a bookmark and get all the words wrapped to where you can see them as usual:
Go to Bookmarks > Organize Bookmarks, and click the New Bookmark icon in the toolbar.
Now copy this script into the Location field, and in the Name field, type something like "Wrap". Click OK
Code: |
javascript:(function() { var D = document; F(D.body); function F(n) { var u, r, c, x; if (n.nodeType == 3) { u = n.data.search(/S{45}/); if (u >= 0) { r = n.splitText(u + 45); n.parentNode.insertBefore(D.createElement('wbr'), r); } } else if ((n.tagName != 'STYLE') && (n.tagName != 'SCRIPT')) { for (c = 0; x = n.childNodes[c]; ++c) { F(x); } } } D.body.innerHTML += ' '; })(); |
When you come to a thread that runs off to the right of the page, just click the link in your bookmarks ( I keep it as the first link in my list) & in a few seconds, no more side to side scrolling. Note: If you use the Bookmarks toolbar, placing this Bookmark there makes it even handier. Ben
Credit where it is due: My thanks to Davepet for his original post on Xandros Forums, from which all the information in this article was lifted intact.
Comments (0)
You don't have permission to comment on this page.