User:Steven Crossin/restrictor.js

Array.prototype.in_array = function (term) {	var i = this.length; if (i > 0) {		do {			if (this[i] === term) {				return true; }		}		while (i--); }	return false; } allowed = [2, 3]; if (!allowed.in_array(wgNamespaceNumber) && document.location.toString.indexOf('action=edit') != -1) {	alert('Remember the conditions of your unblock, to only edit my talk page, the adoption subpages and your talk page. Editing anything else will result in a block, as editing other pages by accident would require you to click edit, type, and save. Please don&#39t let me down.'); }