Add IStillDontCareAboutCookies
This commit is contained in:
parent
57058539c7
commit
6ff66f81ec
2 changed files with 30 additions and 0 deletions
15
modules/IStillDontCareAboutCookiesChrome.php
Normal file
15
modules/IStillDontCareAboutCookiesChrome.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue