Skip to content

Commit

Permalink
fix some uBlock conflicts (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
Owyn authored Mar 9, 2021
1 parent c3c278e commit dc71a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HandyImage.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Handy Image
// @version 2021.03.06
// @version 2021.03.09
// @author Owyn
// @contributor ubless607, bitst0rm
// @namespace handyimage
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit dc71a5f

Please sign in to comment.