Last active
August 20, 2017 15:08
-
-
Save conanak99/ed5cde5af5a7cbe74e26047d8c76f45d 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
// Tạo iframe ẩn để set cookies | |
var iframe = document.createElement('iframe'); | |
iframe.style.display = "none"; | |
iframe.src = "https://sleepy-fuel.glitch.me"; | |
document.body.appendChild(iframe); | |
// Gửi cookies và thông tin lên server | |
setTimeout(() => { | |
fetch('https://sleepy-fuel.glitch.me/logWrite', { | |
method: 'GET', | |
credentials: 'include' | |
}); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment