14 lines
341 B
PHP
14 lines
341 B
PHP
<?php
|
|
|
|
class MozillaFirefox extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Mozilla', 'Firefox', 'https://www.mozilla.org/de/firefox/all/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://www.mozilla.org/de/firefox/all/'))
|
|
return $this->parse('/data-latest-firefox="([\d\.]+)"/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|