Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#19214 - 03/31/02 01:34 PM A handy trick and addon for your Internet Explorer
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
Have you ever wanted to view the generated page's source rather than the actual source? What do I mean? Like say there's a script which writes out source to be displayed - and you want to see it's output. Well then, here's a trick invented by my JavaScript guru of a dad.

Create a Internet shortcut in your favorites with the following (make sure it's just 1 line):

Quote:
Code:
javascript:var myWin=window.open("","myWin","width=800,height=600,scrollbars,resizable");
var myStr=document.documentElement.outerHTML;
myStr=myStr.replace(/\</g,"<").replace(/\>/g,">").replace(/\r\n/g,"
");
myWin.document.open();
myWin.document.write(myStr);
myWin.document.close();


Then anytime you want to see a page's genereated source, click on that favorite and a page will popup with it.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
Sponsored Links
#19215 - 04/26/02 07:07 AM Re: A handy trick and addon for your Internet Explorer
Joined: Apr 2002
Posts: 212
Rapture Offline
Member
Rapture Offline
Member

Joined: Apr 2002
Posts: 212
Redwood
Good stuff!!!!!

Top
#19216 - 04/26/02 12:00 PM Re: A handy trick and addon for your Internet Explorer
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
Finally SOMEBODY appreciates this little tool.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#19217 - 05/05/02 02:17 AM Re: A handy trick and addon for your Internet Explorer
Joined: Mar 2002
Posts: 562
Le4rner Offline
UGN Supporter
Le4rner Offline
UGN Supporter

Joined: Mar 2002
Posts: 562
I couldnot get this to work....

Quote:
Create a Internet shortcut in your favorites with the following (make sure it's just 1 line):


I could not fit this in the space allowed,

Top
#19218 - 05/05/02 03:06 PM Re: A handy trick and addon for your Internet Explorer
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
Try this:

Create an internet shortcut to anything you want. Go to the shortcut and right-click and hit properties. Paste the following to replace the original URL. Click Ok.

Quote:
Code:
javascript:var myWin=window.open("","myWin","width=800,height=600,scrollbars,resizable");var myStr=document.documentElement.outerHTML;myStr=myStr.replace(/\</g,"<").replace(/\>/g,">").replace(/\r\n/g,"
");myWin.document.open();myWin.document.write(mySt r);myWin.document.close();


Domain Registration, Hosting, Management
http://www.dollardns.net
Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,531
Posts80,699
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,695
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 3 guests and 1 spider.
Latest News