Add Cookie AutoDelete

This commit is contained in:
Steffen Lange 2022-09-19 10:28:09 +02:00
parent 65a79b30a0
commit be91a92be7
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<?php
class CookieAutoDeleteChrome extends PatchBase {
function __construct() {
parent::__construct('CAD Team', 'Cookie AutoDelete', 'https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh');
$this->patch->setBranch('for Chrome');
}
function check() : bool {
if ($this->fetch('https://chrome.google.com/webstore/detail/cookie-autodelete/fhcgjolkccmbidfldomjliifgaodjagh'))
return $this->parse('/<meta itemprop="version" content="([\d\.]+)"\/>/');
return false;
}
}
?>