Update Chrome Extensions regex
This commit is contained in:
parent
4dc2bb99b0
commit
53cea337ba
7 changed files with 7 additions and 7 deletions
|
|
@ -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('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class DecentraleyesChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chrome.google.com/webstore/detail/decentraleyes/ldpochfccmkkmhdbclfhpagapcfdljkj'))
|
||||
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class FloccusChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chrome.google.com/webstore/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg'))
|
||||
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class LocalCDNChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd'))
|
||||
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class PrivacyBadgerChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chrome.google.com/webstore/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp'))
|
||||
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class UBlockChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm'))
|
||||
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
|
||||
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue