Update regex for Chrome extensions

This commit is contained in:
Steffen Lange 2024-12-13 13:41:59 +01:00
parent 99f86e6e15
commit aeb0e4289d
7 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ class BitwardenChrome extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb'))
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
return $this->parse('/<div class="N3EXSc">([\d\.]+)<\/div>/');
return false;
}
}