This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this goes into every page where the hijack will take place | |
// or where the hijack will land | |
function hijack (abs, landing) { | |
// get the #jump=url from the url | |
url_hash = window.location.hash.substr(1); | |
// make sure its actually a #jump= | |
if (url_hash.indexOf("jump=") !== -1) { | |
// trim off jump= and redirect | |
url = window.location.hash.substr(6); | |
window.setTimeout(function(){ |