Update Chrome Extensions regex

This commit is contained in:
Steffen Lange 2024-02-16 23:15:38 +01:00
parent 4dc2bb99b0
commit 53cea337ba
7 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ class CookieAutoDeleteChrome extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh'))
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
return false;
}
}