Try this:
//
var loc = location.href.valueOf();
var comparison = false;
// Checks for something in the URL sring
// Could be a file name, domain, a variable etc.
if (loc.indexOf("my unique string")!=-1){
comparison = false;
}
else {
comparison = true;
}
if (comparison){
// In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.