From: Andrew Dolgov Date: Thu, 5 Dec 2013 19:42:20 +0000 (+0400) Subject: add no_url_hashes plugin X-Git-Tag: 1.11~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9864c1362a3bdccaf89f30fa1c6f82ffa7df5b4b;p=tt-rss.git add no_url_hashes plugin --- diff --git a/plugins/no_url_hashes/init.js b/plugins/no_url_hashes/init.js new file mode 100644 index 00000000..a437a1f3 --- /dev/null +++ b/plugins/no_url_hashes/init.js @@ -0,0 +1,4 @@ +dojo.addOnLoad(function() { + hash_set = function() { }; + hash_get = function() { }; +}); diff --git a/plugins/no_url_hashes/init.php b/plugins/no_url_hashes/init.php new file mode 100644 index 00000000..da31267c --- /dev/null +++ b/plugins/no_url_hashes/init.php @@ -0,0 +1,25 @@ +host = $host; + + } + + function get_js() { + return file_get_contents(__DIR__ . "/init.js"); + } + + function api_version() { + return 2; + } + +} +?>