Add Floccus + UBlock for Chrome

This commit is contained in:
Steffen Lange 2020-04-27 17:03:32 +02:00
parent 2a3822ec41
commit 47af608db2
2 changed files with 30 additions and 0 deletions

15
modules/FloccusChrome.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class FloccusChrome extends PatchBase {
function __construct() {
parent::__construct('Marcel Klehr', 'floccus', 'https://chrome.google.com/webstore/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg');
$this->patch->setBranch('for Chrome');
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg'))
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
return false;
}
}
?>