Skip to content

Instantly share code, notes, and snippets.

@aaronjorbin
Created August 1, 2012 04:16
Show Gist options
  • Save aaronjorbin/3223599 to your computer and use it in GitHub Desktop.
Save aaronjorbin/3223599 to your computer and use it in GitHub Desktop.
a .js file to redierct around markerly
if (window.location.pathname=='/direct.php')
{
window.location.replace( decodeURIComponent( window.location.search.match( /url=(.+?)(&|$)/)[1]));
}
@willmeyer
Copy link

;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment