Add Bitwarden

This commit is contained in:
Steffen Lange 2020-12-30 00:22:21 +01:00
parent 0dc87d962a
commit 0e75c9b37b
2 changed files with 30 additions and 0 deletions

15
modules/BitwardenFF.php Normal file
View file

@ -0,0 +1,15 @@
<?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;
}
}
?>