diff --git a/modules/LocalCDNChrome.php b/modules/LocalCDNChrome.php new file mode 100644 index 0000000..8f4e6b4 --- /dev/null +++ b/modules/LocalCDNChrome.php @@ -0,0 +1,15 @@ +patch->setBranch('for Chrome'); + } + function check() : bool { + if ($this->fetch('https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd')) + return $this->parse('//'); + return false; + } +} + +?> diff --git a/modules/LocalCDNFF.php b/modules/LocalCDNFF.php new file mode 100644 index 0000000..abb0bf8 --- /dev/null +++ b/modules/LocalCDNFF.php @@ -0,0 +1,15 @@ +patch->setBranch('for Firefox'); + } + function check() : bool { + if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/')) + return $this->parse('/"version":"([\d\.]+)"/'); + return false; + } +} + +?>