UBlock/Floccus: Rename Firefox plugin classes
This commit is contained in:
parent
50e903cd93
commit
2a3822ec41
2 changed files with 2 additions and 2 deletions
15
modules/FloccusFF.php
Normal file
15
modules/FloccusFF.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class FloccusFF extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Marcel Klehr', 'floccus', 'https://addons.mozilla.org/en-US/firefox/addon/floccus/');
|
||||
$this->patch->setBranch('for Firefox');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/floccus/'))
|
||||
return $this->parse('/"version":"([\d\.]+)"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue