From: Andrew Dolgov Date: Thu, 25 Jul 2013 10:54:46 +0000 (+0400) Subject: add simple plugin to prevent tt-rss tab flashing on new articles X-Git-Tag: 1.10~65 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1c8bcb580e046218ee9d07ec7d9f707fbd7b3219;p=tt-rss.git add simple plugin to prevent tt-rss tab flashing on new articles --- diff --git a/plugins/no_title_counters/init.js b/plugins/no_title_counters/init.js new file mode 100644 index 00000000..9c16856a --- /dev/null +++ b/plugins/no_title_counters/init.js @@ -0,0 +1,5 @@ +dojo.addOnLoad(function() { + updateTitle = function() { + document.title = "Tiny Tiny RSS"; + }; +}); diff --git a/plugins/no_title_counters/init.php b/plugins/no_title_counters/init.php new file mode 100644 index 00000000..a9f22831 --- /dev/null +++ b/plugins/no_title_counters/init.php @@ -0,0 +1,25 @@ +host = $host; + + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } + +} +?>