Update regex for Cookie AutoDelete and LocalCDN for Chrome
This commit is contained in:
parent
cf61449b90
commit
77ec830cc6
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ class CookieAutoDeleteChrome extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh'))
|
if ($this->fetch('https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh'))
|
||||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
return $this->parse('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ class LocalCDNChrome extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd'))
|
if ($this->fetch('https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd'))
|
||||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
return $this->parse('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue