Created
June 14, 2017 21:21
-
-
Save AramZS/bad96d9ba8cb9dd09c6588a36474f48c 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
document.documentElement.style.overflow = "auto"; | |
Object.defineProperty(document.documentElement.style, "overflow", { | |
set: function(val){ | |
console.log("nop", "NOPed on style overflow", val); return false; | |
} | |
} ); | |
Object.freeze(document.documentElement.style); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment