Created
August 5, 2024 08:39
-
-
Save vanholler/0393f014417624793d946d5b7da30778 to your computer and use it in GitHub Desktop.
code иньекция
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
resource override - plugin | |
if(location.hostname === 'site.io'){ | |
const original_indexOf = Array.prototype.includes | |
Array.prototype.includes = function (...args) { | |
console.log("includes", this) | |
return original_indexOf.apply(this, args) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment