User:Alison22/monobook.js

importScript('User:Lupin/recent2.js'); importScript('User:AzaToth/morebits.js'); importScript('User:Alison22/twinklefluff.js'); importScript('User:Alison22/twinklewarn.js'); importScript('User:Alison22/twinklearv.js'); importScript('User:AzaToth/twinklespeedy.js'); importScript('User:AzaToth/twinklediff.js'); importScript('User:AzaToth/twinkleprod.js'); importScript('User:AzaToth/twinklexfd.js'); importScript('User:AzaToth/twinkleimage.js'); importScript('User:AzaToth/twinkledeprod.js'); importScript('User:AzaToth/twinkleimagetraverse.js'); importScript('User:Gracenotes/rollback.js'); //COOKIE FUNCTIONS (User:GeorgeMoney/UserScripts/helpers/all#Cookies) function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); }	return null; }

function createCookie(name,value,days) { if (days) { var date = new Date; date.setTime(date.getTime+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString; }	else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; }

function eraseCookie(name) { createCookie(name,"",-1); }

//END function storePageTitleFromRollback { if( document.URL.indexOf("&action=roll") != -1 || document.URL.indexOf("&autoclick=wpS") != -1) { createCookie("storedPageTitleFromRollback", wgPageName.replace(/_/g, ' '), 3); } }

addOnloadHook(storePageTitleFromRollback);

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; TwinkleConfig.openTalkPage				=	[ ]; TwinkleConfig.watchProdPages				=	true; TwinkleConfig.watchRevertedPages			=	[ ]; TwinkleConfig.watchSpeedyPages				=	[ ]; TwinkleConfig.watchWarnings				=	false;