diff --git a/modules/BitwardenChrome.php b/modules/BitwardenChrome.php new file mode 100644 index 0000000..e47fa5a --- /dev/null +++ b/modules/BitwardenChrome.php @@ -0,0 +1,15 @@ +patch->setBranch('for Chrome'); + } + function check() : bool { + if ($this->fetch('https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb')) + return $this->parse('//'); + return false; + } +} + +?> diff --git a/modules/BitwardenFF.php b/modules/BitwardenFF.php new file mode 100644 index 0000000..c59105d --- /dev/null +++ b/modules/BitwardenFF.php @@ -0,0 +1,15 @@ +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; + } +} + +?>