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

15 lines
406 B
PHP

<?php
class BitwardenFF extends PatchBase {
function __construct() {
parent::__construct('Bitwarden Inc.', 'Bitwarden', 'https://bitwarden.com/download/');
$this->patch->setBranch('for Firefox');
}
function check() : bool {
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/'))
return $this->parse('/"version":"([\d\.]+)"/');
return false;
}
}
?>