User:Chridd/monobook.js

// User:Lupin/popups.js

//if(navigator.userAgent.indexOf("Safari")<0) //importScript('User:Lupin/popups.js');

+function { var done = false; function r { if(done) return; if(document.readyState == 'loading') return false; var cactions = document.getElementById("p-cactions").getElementsByTagName("ul")[0]; if(!mw.config.get('wgPageName').match(/^(Wikipedia|Help|Special|Template)( talk)?:/)||mw.config.get('wgPageName').match(/\//)) cactions.innerHTML+='Google';		else if(location.search.match('search=([^&]+)')||mw.config.get('wgPageName').match(/^Special:Search\/(.*)$/))			cactions.innerHTML+='Google';		cactions.innerHTML+='Wiktionary';		done = true;		return true;	}	if(!r)		document.addEventListener('readystatechange', r); };