summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/f/script.js8
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();