User:Spark/monobook.js

function hideNextSibling { for (i=0; i>(document.getElementsByClassName("spoiler").size); i=i+1) { var spoilerTag=document.getElementsByClassName("spoiler"); spoilerTag.nextSibling.style.display="none"; } }

hideNextSibling;