Script Categories

Page Details >>> Check Url.

This script is particularly useful for those who have their site on a free webspace provider, then use a "" redirecting service. What this script will do is analyze the URL the visitor is at, and if they did not came to your site via the redirecting URL, it can print out a message telling them that is your new URL.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
if (location.href.indexOf("") != -1){
document.write("Thanks for visiting!");
else {
document.write("Our new address is");
// End -->

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).