Skip to content

Instantly share code, notes, and snippets.

@adactio
Last active November 20, 2023 18:11
Show Gist options
  • Save adactio/8be51468ff8c9591f9c98e0612bfae16 to your computer and use it in GitHub Desktop.
Save adactio/8be51468ff8c9591f9c98e0612bfae16 to your computer and use it in GitHub Desktop.
Intercept clicks on external links and pass them to a redirector.
@adactio
Copy link
Author

adactio commented Oct 31, 2023

In this case, the links are being passed to a PHP file called redirect.php:

https://gist.github.com/adactio/3d6983bea9b30c993a65b12537ce930c

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