diff --git a/modules/FirefoxTranslations.php b/modules/FirefoxTranslations.php new file mode 100644 index 0000000..9f0e0b3 --- /dev/null +++ b/modules/FirefoxTranslations.php @@ -0,0 +1,15 @@ +patch->setBranch('for Firefox'); + } + function check() : bool { + if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/firefox-translations/')) + return $this->parse('/"version":"([\d\.a-z]+)"/'); + return false; + } +} + +?>