diff options
author | Yorhel <git@yorhel.nl> | 2019-12-01 14:02:43 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-12-01 14:02:48 +0100 |
commit | 4b258b5b35af5fc7676507b3bf09e285bf722b0d (patch) | |
tree | 6bbcd7888c8526f83310b230e07088dd5de25c3f /data | |
parent | e69504ae68f4d37bae69919aaee484aee3c0aa84 (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.
Diffstat (limited to 'data')
-rw-r--r-- | data/js/misc.js | 11 |
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) { |