User:Mike7483/common.js

document.addEventListener('click',function(event){ var elClass = event.target.getAttribute('class'); if(elClass=='infobox'||elClass=='toc'||elClass=='thumbinner'){

event.target.innerHTML = '';

event.target.style.height = '5px'; event.target.style.width = '5px'; event.target.style.margin = '1px'; event.target.style.padding = '1px';

}	},false);