Add Cookie AutoDelete
This commit is contained in:
parent
65a79b30a0
commit
be91a92be7
2 changed files with 30 additions and 0 deletions
15
modules/CookieAutoDeleteFF.php
Normal file
15
modules/CookieAutoDeleteFF.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class CookieAutoDeleteFF extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('CAD Team', 'Cookie AutoDelete', 'https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/');
|
||||
$this->patch->setBranch('for Firefox');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/'))
|
||||
return $this->parse('/"version":"([\d\.]+)"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue