summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-01 14:02:43 +0100
committerYorhel <git@yorhel.nl>2019-12-01 14:02:48 +0100
commit4b258b5b35af5fc7676507b3bf09e285bf722b0d (patch)
tree6bbcd7888c8526f83310b230e07088dd5de25c3f
parente69504ae68f4d37bae69919aaee484aee3c0aa84 (diff)
JS: Remove old "This is not VNDB!" domain check
This is a remnant from when I was running a public sandbox VNDB, to avoid getting people confused and wasting their time contributing to the sandbox. Removed for consistency with pages that have migrated to the new v2rw.js, which doesn't have the message, and for the new .onion address.
-rw-r--r--data/js/misc.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 274b9422..54c6ae69 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -90,17 +90,6 @@ if(byId('listsel'))
})();
-// vndb.org domain check
-if(location.hostname != 'vndb.org') {
- addBody(tag('div', {id:'debug'},
- tag('h2', 'This is not VNDB!'),
- 'The real VNDB is ',
- tag('a', {href:'http://vndb.org/'}, 'here'),
- '.'
- ));
-}
-
-
// 'more' / 'less' summarization of some boxes on VN pages
(function(){
function set(o, h) {