Prevent infinite redirect

This commit is contained in:
leonklingele 2019-07-30 20:31:27 +02:00 committed by Perflyst
parent 036cfedb74
commit bedff1061a

View File

@ -14,7 +14,7 @@ Than add the following script in Tampermonkey. It will always add `&local=true`
// ==/UserScript==
if (!(/[?&]quality=dash/).test(location.search)) {
if (!(/[?&]local=/).test(location.search) && !(/[?&]quality=dash/).test(location.search)) {
location.search += (location.search ? "&" : "?") + "local=true";
}
```