Add uBlock Origin

This commit is contained in:
Steffen Lange 2020-01-08 10:25:00 +01:00
parent 9397f6a758
commit dbb6bfdf44

14
modules/UBlock.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class UBlock extends PatchBase {
function __construct() {
parent::__construct('Raymond Hill', 'uBlcok Origin', 'https://github.com/gorhill/uBlock');
}
function check() : bool {
if ($this->fetch('https://addons.mozilla.org/de/firefox/addon/ublock-origin/'))
return $this->parse('/"version":"([\d\.]+)"/');
return false;
}
}
?>