Jump to content

User:LFaraone/monobook.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by LFaraone (talk | contribs) at 00:24, 12 December 2007 (lets see if this is the magic bullet). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 Wikipedia:Bypass your cache.
// <pre>

importScript('User:Interiot/Tool2/code.js');

// [[User:Lupin/popups.js]]

importScript('User:Lupin/popups.js');

popupEditCounterTool='custom';
popupEditCounterUrl='http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=$1&site=en.wikipedia.org';
popupFixDabs=true;
popupAdminLinks=true;


importScript('User:ais523/editcount.js');

importScript('User:Steel359/protection.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');

importScript('User:AzaToth/morebits.js');

importScript('User:AzaToth/twinklewarn.js');

importScript('User:AzaToth/twinklespeedy.js');

importScript('User:AzaToth/twinklediff.js');

importScript('User:AzaToth/twinkleprod.js');

importScript('User:AzaToth/twinklexfd.js');

importScript('User:Royalguard11/salt.js');



//security override HTTP request
//ALSO, reduce IE security settings
//For FF/NS, go enable, see "http://esw.w3.org/topic/SparqlCalendarDemoUsage#FAQ"
//Basically, enable "signed.applets.codebase_principal_support" in about:config 
function makeRequestXML(url, parameters,type,parse) 
{ 
  if(window.XMLHttpRequest)
  {
try {netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); } 
catch (e) {alert("Permission UniversalBrowserRead denied."); } 
http_request = false;
http_request = new XMLHttpRequest(); 
if (http_request.overrideMimeType) 
{http_request.overrideMimeType('text/xml'); }
if (!http_request) 
{alert('Cannot create XMLHTTP instance'); return false; } 
http_request.onreadystatechange = alertContents;
http_request.open(type, url + parameters, true); 
http_request.send(null); 
  }
  else if (window.ActiveXObject)
  {
    try
    {http_request = new ActiveXObject("Msxml2.XMLHTTP");} 
    catch (e)
     {
      try
      {http_request = new ActiveXObject("Microsoft.XMLHTTP");} 
       catch (e){}
     }
  if (!http_request) {showError(ERROR_XML);}
  http_request.onreadystatechange = alertContents;
  http_request.open(type, url + parameters, true); 
  http_request.send(null); 
  }
}
//

//</nowiki>[[Category:VoA scripted admins]]


// </pre>