alamakme Posted October 21, 2004 Share Posted October 21, 2004 1) there are two URLs. The codings in the page of the First URL would redirect u to the Second URL 2) Codings The by looking at the codings, you won't know where u are being redirected to... Is there anyway? or can anyone tell me how the following works? <script language=javascript> <!-- Hide // forward URL { T=document.location.hostname String1="http://65.118.246.110/URL_forward_main_2.asp?Domain=" String2=T URLString=String1+String2 //document.write(URLString) document.location.href=URLString //document.write("Target URL:" + URLString); //window.location.replace(URLString) } // End Hide ---> </SCRIPT> :blink: Link to comment Share on other sites More sharing options...
0 blackice912 Veteran Posted October 21, 2004 Veteran Share Posted October 21, 2004 What's the purpose of this script, to hide the destination URL? Link to comment Share on other sites More sharing options...
0 alamakme Posted October 21, 2004 Author Share Posted October 21, 2004 (edited) What's the purpose of this script, to hide the destination URL? 584778522[/snapback] So that the user won't know how the script works? Edited October 21, 2004 by alamakme Link to comment Share on other sites More sharing options...
Question
alamakme
1) there are two URLs.
The codings in the page of the First URL would redirect u to the Second URL
2) Codings
The by looking at the codings, you won't know where u are being redirected to...
Is there anyway?
or can anyone tell me how the following works?
<script language=javascript> <!-- Hide // forward URL { T=document.location.hostname String1="http://65.118.246.110/URL_forward_main_2.asp?Domain=" String2=T URLString=String1+String2 //document.write(URLString) document.location.href=URLString //document.write("Target URL:" + URLString); //window.location.replace(URLString) } // End Hide ---> </SCRIPT>:blink:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts