split no_url_hashes into a separate repo

master
Andrew Dolgov 2 years ago
parent 198c9b4069
commit bc2953b5e7
  1. 9
      plugins/no_url_hashes/init.js
  2. 24
      plugins/no_url_hashes/init.php

@ -1,9 +0,0 @@
require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
ready(function () {
hash_set = function () {
};
hash_get = function () {
};
});
});

@ -1,24 +0,0 @@
<?php
class No_URL_Hashes extends Plugin {
private $host;
function about() {
return array(null,
"Disable URL hash usage (e.g. #f=10, etc)",
"fox");
}
function init($host) {
$this->host = $host;
}
function get_js() {
return file_get_contents(__DIR__ . "/init.js");
}
function api_version() {
return 2;
}
}
Loading…
Cancel
Save