From 6ff66f81ec1d05bf1331b5a699d52af4d48702cf Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Tue, 20 Feb 2024 15:36:34 +0100 Subject: [PATCH] Add IStillDontCareAboutCookies --- modules/IStillDontCareAboutCookiesChrome.php | 15 +++++++++++++++ modules/IStillDontCareAboutCookiesFF.php | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 modules/IStillDontCareAboutCookiesChrome.php create mode 100644 modules/IStillDontCareAboutCookiesFF.php 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; + } +} + +?>