diff options
Diffstat (limited to 'static/f/script.js')
-rw-r--r-- | static/f/script.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/static/f/script.js b/static/f/script.js index 069b5e5d..e434eede 100644 --- a/static/f/script.js +++ b/static/f/script.js @@ -487,6 +487,14 @@ DOMLoad(function() { l[i].onmouseout = function() { this.className = 'spoiler' }; } + // Are we really vndb? + if(location.hostname != 'vndb.org') { + var d = document.createElement('div'); + d.setAttribute('id', 'debug'); + d.innerHTML = '<h2>This is not VNDB!</h2>The real VNDB is <a href="http://vndb.org/">here</a>.'; + document.body.appendChild(d); + } + // forms.js if(x('categories')) catLoad(); |