User:Xbony2/common/everyonelovesbony.js

// Filters yours truly (Xbony2) from recent changes. // @author User:Xbony2 if(mw.config.get('wgTitle').startsWith('RecentChanges')){ var currentText = document.getElementById('mw-content-text').children[2].children[1]; for(var i = 0; i < currentText.children.length; i++){ console.log(i) try{ if(currentText.children[i].children[6].children[0].innerText === 'Xbony2' || currentText.children[i].children[3].children[6].innerText === 'Xbony2'){ console.log(i) document.getElementById('mw-content-text').children[2].children[1].children[i].innerHTML = '' }	 	}catch(e){ // party? }	 } }