Fixed vivo.sx / vivo.st regex and unwanted return

This commit is contained in:
2021-09-13 17:13:49 +02:00
parent f0f8bc9189
commit 038f708b36
2 changed files with 3 additions and 5 deletions

View File

@ -24,8 +24,6 @@ chrome.storage.local.get(['all', 'disabled'], function (result) {
re = document.body.innerHTML.match(regex)
}
return
if (matchClass === null) {
if (regex === null) {
location.assign(document.body.innerHTML)