]>
Commit | Line | Data |
---|---|---|
1c8bcb58 AD |
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 | } | |
25 | ?> |