mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
* Overlay on reddit fix - #315 - not fixing "in the middle of the video" part
This commit is contained in:

committed by
Ilya Grigorik

parent
e84e19069d
commit
bcf3a0716f
@@ -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);
|
||||
|
Reference in New Issue
Block a user