Add Enterprise Policy Generator for Firefox
This commit is contained in:
parent
c3ed4e8fcf
commit
512c7b8be2
1 changed files with 15 additions and 0 deletions
15
modules/EnterprisePolicyGeneratorFF.php
Normal file
15
modules/EnterprisePolicyGeneratorFF.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class EnterprisePolicyGeneratorFF extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Sören Hentzschel', 'Enterprise Policy Generator', 'https://addons.mozilla.org/en-US/firefox/addon/enterprise-policy-generator/');
|
||||||
|
$this->patch->setBranch('for Firefox');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/enterprise-policy-generator/'))
|
||||||
|
return $this->parse('/"version":"([\d\.]+)"/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue