User:Jgjake2/global.js

var full = window.location.host; var parts = full.split('.'); var sub = parts[0] + '.' + parts[1]; if(sub == 'ru.elderscrolls') { var set_wikiSubDomain = 'ru.elderscrolls'; importScriptPage('User:Jgjake2/js/Wikia/Popups.js', 'deadisland'); }