WTV ARCHIVES: JAVASCRIPT CODE READER TUTORIAL 2
© 1999, ulTRAX@webtv.net
Updated 12-8-99



INTRODUCTION:
The JS Code Reader here is functional, but should a embeded page contain WTV links, they will not be active. None the less the Code Reader can be used to dissect the page. For purposes of this tutorial, I have embeded a Tripod Page. It is this page the Code Reader will be analyzing. It has a pretty good selection of features including pulldown menus, a textform, and radio buttons. Please give this embed time to fully load!

You may ask what's the point of going though all the trouble using the Code Reader when we can just use a Validator to see the source code? The answer should be obvious: often we do NOT have access to source code. There are many WTV URLs whose source code has not yet been seen. Also, many Sites are at domains that block Validators. The Code Reader may be the only Tool WebTV Users have to see what makes some of these pages work... maybe someday it can be improved to read source as well.

USEFUL JAVASCRIPT COMMANDS to be used in top box. Note that all these commands may not work.



CODE READER: Before you start be sure the embeded page has loaded! Pages with JS hit counters may NOT load. Try reloading a few times.

JAVASCRIPT INPUT:
After embed has loaded, first try "ifr.document.location" Then move cursor down to Results box. It should read http://www.tripod.com
Now try other commands like "ifr.document.links[0].href. As you get results, change the number in the brackets or use one of the other codes above.

RESULTS:

NOTES: