User:Cqm/wikia.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/*** BEGIN KONAMI CODE ***/ var Konami = function { var konami= { addEvent:function ( obj, type, fn, ref_obj ) {				if (obj.addEventListener) obj.addEventListener( type, fn, false ); else if (obj.attachEvent) {					// IE					obj["e"+type+fn] = fn; obj[type+fn] = function { obj["e"+type+fn]( window.event,ref_obj ); } obj.attachEvent( "on"+type, obj[type+fn] ); }			},	       input:"", pattern:"191191191", /*pattern:"191191191",*/ load: function(link) { this.addEvent(document,"keydown", function(e,ref_obj) {																if (ref_obj) konami = ref_obj; // IE					konami.input+= e ? e.keyCode : event.keyCode;					if (konami.input.length > konami.pattern.length) konami.input = konami.input.substr((konami.input.length - konami.pattern.length));					if (konami.input == konami.pattern) {                   konami.code(link);					konami.input="";                   	return;                    }            	},this); },	       code: function(link) { window.location=link}, }	return konami; }       konami = new Konami konami.load("http://runescape.wikia.com/wiki/Special:CreatePage"); /*** END KONAMI CODE ***/