diff --git a/modules/IStillDontCareAboutCookiesChrome.php b/modules/IStillDontCareAboutCookiesChrome.php new file mode 100644 index 0000000..718a977 --- /dev/null +++ b/modules/IStillDontCareAboutCookiesChrome.php @@ -0,0 +1,15 @@ +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; + } +} + +?> diff --git a/modules/IStillDontCareAboutCookiesFF.php b/modules/IStillDontCareAboutCookiesFF.php new file mode 100644 index 0000000..94422f5 --- /dev/null +++ b/modules/IStillDontCareAboutCookiesFF.php @@ -0,0 +1,15 @@ +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; + } +} + +?>