mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Update inject.js
Some regional HBO GO sites don't use www anymore, so issue 199 reappeared.
This commit is contained in:
@@ -151,7 +151,7 @@ chrome.extension.sendMessage({}, function(response) {
|
|||||||
|
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case (location.hostname == 'www.amazon.com'):
|
case (location.hostname == 'www.amazon.com'):
|
||||||
case (/www\.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);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user