PatchBot/modules/BitwardenChrome.php
2020-12-30 00:22:21 +01:00

15 lines
461 B
PHP

<?php
class BitwardenChrome extends PatchBase {
function __construct() {
parent::__construct('Bitwarden Inc.', 'Bitwarden', 'https://bitwarden.com/download/');
$this->patch->setBranch('for Chrome');
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb'))
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
return false;
}
}
?>