mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-11-01 10:53:48 -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) {
|
switch (true) {
|
||||||
case (location.hostname == 'www.amazon.com'):
|
case (location.hostname == 'www.amazon.com'):
|
||||||
|
case (location.hostname == 'www.reddit.com'):
|
||||||
case (/hbogo\./).test(location.hostname):
|
case (/hbogo\./).test(location.hostname):
|
||||||
// insert before parent to bypass overlay
|
// insert before parent to bypass overlay
|
||||||
this.parent.parentElement.insertBefore(fragment, this.parent);
|
this.parent.parentElement.insertBefore(fragment, this.parent);
|
||||||
|
|||||||
Reference in New Issue
Block a user