From dc71a5f75d453a64bdbffa1a240f04299e39b52d Mon Sep 17 00:00:00 2001 From: Owyn Date: Tue, 9 Mar 2021 18:50:34 +0300 Subject: [PATCH] fix some uBlock conflicts (maybe) --- HandyImage.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;