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