Misplaced Pages

User:Digwuren/monobook.js: Difference between revisions

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.
Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 21:25, 13 June 2007 view sourceDigwuren (talk | contribs)11,308 edits Use my local copy of tagwpe← Previous edit Revision as of 11:51, 5 July 2007 view source Digwuren (talk | contribs)11,308 editsNo edit summaryNext edit →
Line 4: Line 4:
importScript('User:AzaToth/twinkle.js'); importScript('User:AzaToth/twinkle.js');
importScript('User:Digwuren/tagwpe.js'); importScript('User:Digwuren/tagwpe.js');

addOnloadHook(estRelated);
function estRelated() {
if (document.URL.indexOf('Special:Watchlist') == -1) return;
estaj=sajax_init_object(null);
estaj.open("GET", "http://en.wikipedia.org/search/?title=Special:Recentchangeslinked&target=Misplaced Pages:WikiProject_Estonia/EA&hideminor=0&days=1&limit=50", true);
estaj.onreadystatechange = function()
{
if(estaj.readyState != 4) return;
sPage = estaj.responseText;
document.getElementById("contentSub").innerHTML = sPage.substring(sPage.indexOf("<h4>"), sPage.indexOf('<div class="printfooter">') - 25);
};
estaj.send(null);
}

Revision as of 11:51, 5 July 2007

// ]

importScript('User:Lupin/popups.js');
importScript('User:AzaToth/twinkle.js');
importScript('User:Digwuren/tagwpe.js');

addOnloadHook(estRelated);
 
function estRelated() {
  if (document.URL.indexOf('Special:Watchlist') == -1) return;
  estaj=sajax_init_object(null);
  estaj.open("GET", "http://en.wikipedia.org/search/?title=Special:Recentchangeslinked&target=Misplaced Pages:WikiProject_Estonia/EA&hideminor=0&days=1&limit=50", true);
  estaj.onreadystatechange = function()
  {
    if(estaj.readyState != 4) return;
    sPage = estaj.responseText; 
    document.getElementById("contentSub").innerHTML = sPage.substring(sPage.indexOf("<h4>"), sPage.indexOf('<div class="printfooter">') - 25);   
  };
  estaj.send(null);
}