diff options
Diffstat (limited to 'plugins/no_title_counters')
-rw-r--r-- | plugins/no_title_counters/init.js | 9 | ||||
-rw-r--r-- | plugins/no_title_counters/init.php | 24 |
2 files changed, 0 insertions, 33 deletions
diff --git a/plugins/no_title_counters/init.js b/plugins/no_title_counters/init.js deleted file mode 100644 index 6c0cb38e2..000000000 --- a/plugins/no_title_counters/init.js +++ /dev/null @@ -1,9 +0,0 @@ -require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { - ready(function () { - PluginHost.register(PluginHost.HOOK_INIT_COMPLETE, () => { - App.updateTitle = function () { - document.title = "Tiny Tiny RSS"; - }; - }); - }); -}); diff --git a/plugins/no_title_counters/init.php b/plugins/no_title_counters/init.php deleted file mode 100644 index 86d2bdfc3..000000000 --- a/plugins/no_title_counters/init.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -class No_Title_Counters extends Plugin { - private $host; - - function about() { - return array(1.0, - "Remove counters from window title (prevents tab flashing on new articles)", - "fox"); - } - - function init($host) { - $this->host = $host; - - } - - function get_js() { - return file_get_contents(__DIR__ . "/init.js"); - } - - function api_version() { - return 2; - } - -}
\ No newline at end of file |