]> git.wh0rd.org - tt-rss.git/blame - plugins/no_title_counters/init.php
support disabling of e-mail digests entirely
[tt-rss.git] / plugins / no_title_counters / init.php
CommitLineData
1c8bcb58
AD
1<?php
2class No_Title_Counters extends Plugin {
3 private $host;
4
5 function about() {
6 return array(1.0,
7 "Remove counters from window title (prevents tab flashing on new articles)",
8 "fox");
9 }
10
11 function init($host) {
12 $this->host = $host;
13
14 }
15
16 function get_js() {
17 return file_get_contents(__DIR__ . "/init.js");
18 }
19
20 function api_version() {
21 return 2;
22 }
23
21ce7d9e 24}