From 4b258b5b35af5fc7676507b3bf09e285bf722b0d Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 1 Dec 2019 14:02:43 +0100 Subject: 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. --- data/js/misc.js | 11 ----------- 1 file changed, 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) { -- cgit v1.2.3