UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
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
Latest Reviews
Topic Options
Rate This Topic
#19261 - 07/13/02 06:59 PM viewing generated javascript
olosoft Offline
Member

Registered: 03/02/02
Posts: 143
Loc: .
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 01:45 PM Re: viewing generated javascript
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: 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 09:17 PM Re: viewing generated javascript
olosoft Offline
Member

Registered: 03/02/02
Posts: 143
Loc: .
ah, thank you very much mr. rage

Top

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 08/21/13
Posts: 1
Forum Stats
2145 Members
46 Forums
33106 Topics
68273 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26269
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
1 registered (Gremelin), 666 Guests and 370 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!