Extreme
09-12-2003, 08:44 PM
I found this script on some website, and it fakes the URL when page is open... This example opens www.google.com and the webpage is completely different..
Now, what I want to know... How to avoid this alert, for start, and then, how to load up some custom HTML page, instead of just writing a TEXT line like in this example..
<SCRIPT>
function f()
{
}
w=window.open("nothing.htm","_blank");
f=w.document.open;
w.location.href="http://www.google.com/";
alert("wait for the page");
f("This is NOT a google page!");
</SCRIPT>
Now, what I want to know... How to avoid this alert, for start, and then, how to load up some custom HTML page, instead of just writing a TEXT line like in this example..
<SCRIPT>
function f()
{
}
w=window.open("nothing.htm","_blank");
f=w.document.open;
w.location.href="http://www.google.com/";
alert("wait for the page");
f("This is NOT a google page!");
</SCRIPT>