Update regex for Chrome extensions
This commit is contained in:
parent
99f86e6e15
commit
aeb0e4289d
7 changed files with 7 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ class IStillDontCareAboutCookiesChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chromewebstore.google.com/detail/i-still-dont-care-about-c/edibdbjcniadpccecjdfdjjppcpchdlm'))
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return $this->parse('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue