From 47af608db22e5675ee79d1cec8296551e52a3f3d Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 27 Apr 2020 17:03:32 +0200 Subject: [PATCH] Add Floccus + UBlock for Chrome --- modules/FloccusChrome.php | 15 +++++++++++++++ modules/UBlockChrome.php | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 modules/FloccusChrome.php create mode 100644 modules/UBlockChrome.php diff --git a/modules/FloccusChrome.php b/modules/FloccusChrome.php new file mode 100644 index 0000000..4273723 --- /dev/null +++ b/modules/FloccusChrome.php @@ -0,0 +1,15 @@ +patch->setBranch('for Chrome'); + } + function check() : bool { + if ($this->fetch('https://chrome.google.com/webstore/detail/floccus-bookmarks-sync/fnaicdffflnofjppbagibeoednhnbjhg')) + return $this->parse('//'); + return false; + } +} + +?> diff --git a/modules/UBlockChrome.php b/modules/UBlockChrome.php new file mode 100644 index 0000000..0e6a851 --- /dev/null +++ b/modules/UBlockChrome.php @@ -0,0 +1,15 @@ +patch->setBranch('for Chrome'); + } + function check() : bool { + if ($this->fetch('https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm')) + return $this->parse('//'); + return false; + } +} + +?>