Created
January 15, 2019 15:46
-
-
Save pbuzdin/12e3b19d4f39faba1f39d3360336f94c to your computer and use it in GitHub Desktop.
redir child target // source https://jsbin.com/puhudis
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>redir child target</title> | |
</head> | |
<body> | |
<script> | |
function go(){ | |
pew.href="https://www.google.ru/search?newwindow=1&q=%D1%87%D0%B5%D1%80%D0%BD%D1%8B%D0%B9+%D0%B2%D0%BB%D0%B0%D1%81%D1%82%D0%B5%D0%BB%D0%B8%D0%BD&oq=%D1%87%D0%B5%D1%80%D0%BD%D1%8B%D0%B9+%D0%B2%D0%BB%D0%B0%D1%81%D1%82%D0%B5%D0%BB%D0%B8%D0%BD"; pew.click(); location.href=location.href; | |
} | |
</script> | |
<p>Введи любимого героя в запрос к <a href="https://www.google.ru" target="pew" id="pew" onclick="setTimeout(go, 10000)">https://www.google.ru</a></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment