Add IStillDontCareAboutCookies

This commit is contained in:
Steffen Lange 2024-02-20 15:36:34 +01:00
parent 57058539c7
commit 6ff66f81ec
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<?php
class IStillDontCareAboutCookiesChrome extends PatchBase {
function __construct() {
parent::__construct('Guus van der Meer', 'I still don\'t care about cookies', 'https://chromewebstore.google.com/detail/i-still-dont-care-about-c/edibdbjcniadpccecjdfdjjppcpchdlm');
$this->patch->setBranch('for Chrome');
}
function check() : bool {
if ($this->fetch('https://chromewebstore.google.com/detail/i-still-dont-care-about-c/edibdbjcniadpccecjdfdjjppcpchdlm'))
return $this->parse('/\\\"version\\\": \\\"([\d\.]+)\\\"/');
return false;
}
}
?>

View file

@ -0,0 +1,15 @@
<?php
class IStillDontCareAboutCookiesFF extends PatchBase {
function __construct() {
parent::__construct('Guus van der Meer', 'I still don\'t care about cookies', 'https://addons.mozilla.org/en-US/firefox/addon/istilldontcareaboutcookies/');
$this->patch->setBranch('for Firefox');
}
function check() : bool {
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/istilldontcareaboutcookies/'))
return $this->parse('/"version":"([\d\.]+)"/');
return false;
}
}
?>