]> git.wh0rd.org - tt-rss.git/blob - plugins/no_url_hashes/init.php
strip_harmful_tags: remove data- attributes
[tt-rss.git] / plugins / no_url_hashes / init.php
1 <?php
2 class No_URL_Hashes extends Plugin {
3 private $host;
4
5 function about() {
6 return array(1.0,
7 "Disable URL hash usage (e.g. #f=10, etc)",
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 }