diff --git a/HandyImage.user.js b/HandyImage.user.js index 54fdd8d..e394573 100644 --- a/HandyImage.user.js +++ b/HandyImage.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Handy Image -// @version 2021.03.06 +// @version 2021.03.09 // @author Owyn // @contributor ubless607, bitst0rm // @namespace handyimage @@ -916,7 +916,7 @@ function sanitize() // lol I'm such a hacker removeAllListeners(); } -const protected_createElement = document.createElement.bind(document); +const protected_createElement = Document.prototype.createElement.bind(document); var _eventHandlers = {}; var origAdd = document.addEventListener;