The first few lines of my script look like:
if (window.location.hash) {
window.location = window.location.hash.substring(1);
}
I'd like to have the entire script "skipped" if this statement returns true. Is there any way to do this other than putting my entire script in a giant if statement?
Thanks.