Skip to content

Instantly share code, notes, and snippets.

@salsalabs
Created May 21, 2014 21:21
Show Gist options
  • Save salsalabs/3402e4a8fa0735250aeb to your computer and use it in GitHub Desktop.
Save salsalabs/3402e4a8fa0735250aeb to your computer and use it in GitHub Desktop.
Redirect to another URL whenever the URL for a page is clicked.
<script type="text/javascript">
// Replace `URL` with the URL where you want the user to go.
// Please keep all punctuation intact!
window.location = "URL";
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment