User:Amalthea/oocities.js

if (mw.config.get('wgAction')=="view" || mw.config.get('wgAction')=="submit") addOnloadHook(function { var nodes = document.getElementById("bodyContent").getElementsByTagName('a');  var regexHref = /^\s*((?:http|ftp):\/\/(?:[\w\d-]+\.)*)(?:o|ge)ocities\.com((?:\/[\s\S]*)?$)/i;  var resultMsg = "";  for (i=0; i'+escapeQuotesHTML(geocitiesHref)+' \r\n';  }  if (resultMsg!="") jsMsg(resultMsg); });