MediaWiki:ImportJS

//Spoiler script from https://dev.fandom.com/wiki/SpoilerAlert // usage is div id="SpoilerAlert" followed by /div - but will not work if more than 50% of the page is spoilered.

dev:SpoilerAlert/code.js