PatchBot/modules/DecentraleyesChrome.php
2021-01-14 12:52:18 +01:00

15 lines
515 B
PHP

<?php
class DecentraleyesChrome extends PatchBase {
function __construct() {
parent::__construct('Thomas Rientjes', 'Decentraleyes', 'https://chrome.google.com/webstore/detail/decentraleyes/ldpochfccmkkmhdbclfhpagapcfdljkj');
$this->patch->setBranch('for Chrome');
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/decentraleyes/ldpochfccmkkmhdbclfhpagapcfdljkj'))
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
return false;
}
}
?>