Chrome plugins: fix HTML regex

This commit is contained in:
Steffen Lange 2025-07-30 16:05:22 +02:00
parent 0695989686
commit 9769eb0cb2
9 changed files with 9 additions and 9 deletions

View file

@ -7,7 +7,7 @@ class BitwardenChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class CookieAutoDeleteChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class DecentraleyesChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/decentraleyes/ldpochfccmkkmhdbclfhpagapcfdljkj')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class FloccusChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class IStillDontCareAboutCookiesChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chromewebstore.google.com/detail/i-still-dont-care-about-c/edibdbjcniadpccecjdfdjjppcpchdlm')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class LanguageToolChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chromewebstore.google.com/detail/rechtschreibpr%C3%BCfung-%E2%80%93-lan/oldceeleldhonbafppcapldpdifcinji')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class LocalCDNChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class PrivacyBadgerChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp')) 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; return false;
} }
} }

View file

@ -7,7 +7,7 @@ class UBlockChrome extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm')) 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; return false;
} }
} }