unclickable overlay fix on reddit video - #315 (#325)

* Overlay on reddit fix - #315 
 - not fixing "in the middle of the video" part
This commit is contained in:
Can Arslan
2018-05-15 14:42:22 +02:00
committed by Ilya Grigorik
parent e84e19069d
commit bcf3a0716f

View File

@@ -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);