In addition, if you turn off JavaScript while on the page resulting from the. js file program instead of HTML and will not work if JavaScript is not turned on. Disabling JavaScript does not work, because the JavaScript function is a. If it did, you would see the JavaScript commands the HTML was converted to by the JavaScript maker which would not reveal the original HTML source. js file is actually a JavaScript program that must be called by a tag, Netscape does not show the source. Netscape caches, in the view source request, any HTML code from an HTML file. To prove this in my example used in a previous post above ( ), you can hit the reload button from the bad login screen, and you would be taken back to the original login page because that is the source Netscape is caching. Instead, you see the source of the page calling the. js file has already been called by a tag in the HEAD section, but if you view the source code, you will not see it. If you typed the actual command in the address bar of netscape just as javascript:functionname() and pressed enter, the page would appear because the. What it shows instead is the source of the page that calls the JavaScript function. With JavaScript, Netscape will not show the source of the JavaScript function called using the format javascript:functionname(). In frames, the main page calls each of the frame HTML files, but the main view source shows the HTML of the frames page loader unless you do a view frame souce from the particular frame you want to view source. You will need to register it if you plan to keep it more than 20 days, but the fee is only $5, a great deal for all the power it has.Ġ February 2nd, 2003 - # The method used works on a similar principle to how frames work. I have used many HTML pages with it, and I have never had any errors. js file for you and give you the code you need for your HTML page that will call and run the. All you have to do is supply the source HTML file name and the program will create the. It got 5-star reviews and the developer states that it will convert any HTML code to JavaScript without any run-time errors or other problems that can occur with writing JavaScript. The JavaScript maker program that allowed me to do this in Netscape can be found at: (JavaScript Maker 2.7). I am assuming that IE is deconverting the JavaScript back to the original HTML during the view source process. IE opens Notepad and show the code there. IE won't display the coding in the HEAD section of pages, but it will show code executed by a Javascript function, such as the method I used to defeat Netscape. It doesn't seem that I have been able to defeat Microsoft's "view source" yet.Ġ February 2nd, 2003 - # I still have to figure out how to defeat Internet Explorer. These were also converted from HTML to a JavaScript (.js file) file so that turning off JavaScript wouldn't allow them to be viewed.Īs for Internet Explorer, I am still working on this one. I used the same method, and I used JavaScript to mask all of the links on the page so that a user wouldn't be able to hold their pointer over the links and see the exact location of files the links point to. If a correct login was entered, the page accesses would also not be viewable. ![]() Turning off JavaScript will not allow you to view the "bad login" source code since the page is being executed as javascript function. You should see the source code from the login page instead, or you may just see the code that calls the page (.js file) showing a bad login from the login page. although you will see a page simply stating a bad login was entered, you will not see the page's original source code. After that, just enter any characters into the login and password boxes and then click the "Login!" button. ![]() Also, if you use HTML and tags in the same document, only the code not enclosed with tags will show, but remember to put the tags and code you want hidden in the HEAD section. What shows in the "View Source" is the code of the page that is executing the JavaScript. The HEAD section calls the original HTML page that has been converted to JavaScript and the BODY section executes it. This must occur after the code that calls the script file. ![]() What I did was take the HTML code and use a JavaScript maker which converts the entire page into a Java function (.js file) which can be called by using a link or reference that points to "javascript:functionname()". ![]() This code must be placed within the HEAD section of your page and will not show on a Netscape "View Source" request. The key, after several hours of trial and error, is anything that occurs between the following tags: 0 February 2nd, 2003 - # I'll tell you how I did it in Netscape.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |