]> git.wh0rd.org - tt-rss.git/blob - plugins/no_title_counters/init.php
auto_assign_labels: pass delimiter to preg_quote() to escape slashes properly
[tt-rss.git] / plugins / no_title_counters / init.php
1 <?php
2 class 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
24 }