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; } } ?>