MediaWiki:DiscordIntegrator/code.js

// Discord widget (based on VideoIntegrator script by User:Deadcoder) $(function{  var spans = document.getElementsByTagName("span");   for (var index = 0; index < spans.length; index++) {      if (spans[index].getAttribute("data-widget-id") && spans[index].getAttribute("class")) {        outerLoop:        switch (spans[index].className) {            case "Discord":                spans[index].innerHTML = ' ';                break outerLoop;            default:                break outerLoop;        }      }   } });