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

View file

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