User:Tierrie/wikia.js

$(document).ready( function { // if( wgCanonicalSpecialPageName !== 'TaskManager' ) { //    return; //  }  if( wgPageName !== 'User:Tierrie/Sandbox_1' ) {    alert("invalid wgPageName");    return;  }  $('#WikiaArticle').each( function(ix) { if ( !this.is('p') || !this.is('dd') ) { alert("invalid dom element"); return; };   alert(this.html); }); alert("done"); });