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
#19261 - 07/13/02 05:59 PM viewing generated javascript
Joined: Mar 2002
Posts: 143
olosoft Offline
Member
olosoft Offline
Member

Joined: Mar 2002
Posts: 143
.
this pertains mainly to SR, unless any of you remember, what was that little bit of code that your dad came up with that you put in your favorites to view the actual generated html of a site?

Top
Sponsored Links
#19262 - 07/15/02 12:45 PM Re: viewing generated javascript
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
Code:
javascript:
var myWin=window.open("","myWin","width=800,height=600,scrollbars,resizable");
var myStr=document.documentElement.outerHTML;
myStr=myStr.replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\r\n/g,"
");
myWin.document.open();
myWin.document.write(myStr);
myWin.document.close();
I broke it up into several lines for readability, but of course you'll have to stream it into one line to create that favorite.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#19263 - 07/15/02 08:17 PM Re: viewing generated javascript
Joined: Mar 2002
Posts: 143
olosoft Offline
Member
olosoft Offline
Member

Joined: Mar 2002
Posts: 143
.
ah, thank you very much mr. rage

Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,748
Posts80,916
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,912
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 (), 1 guest and 1 spider.
Latest News