Board Thread:Support Requests - Designing Your Wiki/@comment-27713488-20170721221456/@comment-27958705-20170722153211

you can change whole 'if' to (new BannerNotification(message)).show: $.getJSON("http://WIKINAME.wikia.com/api.php?action=query&meta=userinfo&uiprop=editcount&format=json", function(data) {   var user = data.query.userinfo.editcount;    var message = "Note:PLEASE READ THE SPOILER POLICY OR INSERT TEXT HERE BLALALALALLALALAL";    if ( user < 3 && (wgAction = "edit")) {        (new BannerNotification(message)).show;    } });