Chrome plugins: fix HTML regex
This commit is contained in:
parent
0695989686
commit
9769eb0cb2
9 changed files with 9 additions and 9 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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class LanguageToolChrome extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://chromewebstore.google.com/detail/rechtschreibpr%C3%BCfung-%E2%80%93-lan/oldceeleldhonbafppcapldpdifcinji'))
|
||||
return $this->parse('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
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('/<div class="N3EXSc">([\d\.]+)<\/div>/');
|
||||
return $this->parse('/<div class="nBZElf">([\d\.]+)<\/div>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue