Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login
Site Notices
1/25/2018 7:38:29 AM
Posted: 12/19/2005 1:07:50 PM EST
Have ya ever gone to a website (including some of the postings here) and the page is wider than your screen (text area)?

I just found a remedy for that if you use FireFox as your browser . I don't know if it will work in IE or not..

Anyhow, in FireFox, make a new bookmark and name it Wrap

In the location field, cut/copy/paste this 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 += ' '; })();

Now go find a posting that has a wide text area.. Then just click on the bookmark button and then on Wrap and wha-lah, the page is now sized so that you don't have to side scroll to read it..
Link Posted: 12/20/2005 6:05:02 AM EST
So THAT'S how you do that!

And I was so close, too - I was only missing that 8th left bracket on the second line

(million monkeys at a million type-writers, and eventually you would get this code )
Link Posted: 12/20/2005 7:20:40 AM EST
Thanks for the tip
Top Top