Misplaced Pages

User:Kylu/monobook.js

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Kylu

This is an old revision of this page, as edited by Kylu (talk | contribs) at 20:48, 25 May 2006 (debugging). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 20:48, 25 May 2006 by Kylu (talk | contribs) (debugging)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump.
This code will be executed when previewing this page.
The accompanying .css page for this skin is at User:Kylu/monobook.css.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Misplaced Pages:Bypass your cache.
/*** ]'s include function ***/
function inc (file) {
  var lt = String.fromCharCode(60);
  var gt = String.fromCharCode(62);
  document.writeln(lt+'script type="text/javascript" src="/search/?title='+file+'&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"'+gt+lt+'/script'+gt);
}

/*********************************************************************************/
// * SCRIPT SECTION: INCLUDED SCRIPTS * //
/*********************************************************************************/

// Name me a regular editor who DOESN'T use this...
inc("User:Interiot/Tool2/code.js");

// GodMode. Sometimes handy, sometimes not.
inc("User:Kylu/godmode.js");

// Popups
inc("User:Lupin/popups.js");

// Popups options:
simplePopups = false;
popupAdminLinks = true;
popupFixRedirs = true;
popupFixDabs = true;
popupDelay = 0.15;
popupSubpopups = false;
popupNavLinkSeparator = ' &bull; ';
popupRedirAutoClick = 'wpPreview';

//Beta!
//popupLiveOptions=true;
//popupLiveOptionsExpanded=false;

// Everyone knows what PopUps are, why advertize?
// Will happily remove this section if anyone complains.
popupRedlinkSummary='Removing link to empty page ]';
popupFixDabsSummary='Disambiguate ] to ]';
popupFixRedirsSummary='Redirect bypass from ] to ]';
popupExtendedRevertSummary='Revert to revision dated %s by %s, oldid %s';
popupRevertToPreviousSummary='Revert to the revision prior to revision %s';
popupRevertSummary='Revert to revision %s';
popupRmDabLinkSummary='Remove link to dab page ]';

/* END OF POPUPS STUFF */