...

View Full Version : Using Javascript To Strip codes



justfreebies
07-30-2010, 12:04 AM
Is there any way to use javascript to strip codes or text from a webpage.

mrhoo
07-30-2010, 12:26 AM
window.onload=function(){document.body.innerHTML=''};

Old Pedant
07-30-2010, 02:31 AM
LOL!!!

That's a bit extreme, Mr.Hoo, but it would certainly do what he asked.

JustFreebies: That will essentially *erase* your entire page's contents.

Maybe you need to be a *tiny* bit more explicit about what you *really* want?

mrhoo
07-30-2010, 02:44 AM
Unfortunately the method I used requires javascript-

the improvement cannot be enjoyed by users without javascript,
or with javascript turned off.

Old Pedant
07-30-2010, 03:10 AM
unfortunately the method i used requires javascript-

the improvement cannot be enjoyed by users without javascript,
or with javascript turned off.

rotflmao!!!

Philip M
07-30-2010, 10:08 AM
Is there any way to use javascript to strip codes or text from a webpage.

What exactly are you trying to do? And why? Do you mean from someone else's web page?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum