From bcf3a0716f2bc4cbcdb7837c176afad24dfc87e3 Mon Sep 17 00:00:00 2001 From: Can Arslan Date: Tue, 15 May 2018 14:42:22 +0200 Subject: [PATCH] unclickable overlay fix on reddit video - #315 (#325) * Overlay on reddit fix - #315 - not fixing "in the middle of the video" part --- inject.js | 1 + 1 file changed, 1 insertion(+) diff --git a/inject.js b/inject.js index c253825..3a39684 100644 --- a/inject.js +++ b/inject.js @@ -151,6 +151,7 @@ chrome.runtime.sendMessage({}, function(response) { switch (true) { case (location.hostname == 'www.amazon.com'): + case (location.hostname == 'www.reddit.com'): case (/hbogo\./).test(location.hostname): // insert before parent to bypass overlay this.parent.parentElement.insertBefore(fragment, this.parent);