Board Thread:Support Requests - Getting Technical/@comment-26084508-20170427142135/@comment-168424-20170503174419

Okay, I think this does what you want...

To change the message just edit the stuff in quotes after  (currently says "Page will be revealed after you click 'Done'"). // ';           $('#WikiaArticle').find('*').each(function  {               if ($(this).css('display') == 'none') {                 $(this).addClass('hidden');               }            }); $('#WikiaArticle div').hide; $('#WikiaArticle div:contains(ads)').each(function {             $(this).css('display', );              $(this).find('*').css('display', );            }); $('#mw-content-text').hide; //Reforced it           console.log('Set up spoiler information'); $('#WikiaArticle').prepend(dialog); var borders = getBackgroundColor || "white"; $('#dialog').css('background-color', borders); }       function getBackgroundColor { var color = $('#WikiaPageBackground').css('background-color'); if ('transparent' !== color) return color; color = $('#WikiaPage').css('background-color'); if ('transparent' !== color) return color; color = $('section.module', '#WikiaRail').css('background-color'); if ('transparent' !== color) return color; console.log('SpoilerAlert: Cannot determine color'); return color; }       $('#no').click(function  {            $('#dialog').remove;            if (SpoilerAlert.back) {              history.back;            }        }); $('#yes').click(function {            $('#dialog').remove;            reminder.push(wgArticleId);            $.storage.set('SpoilerAlertJS', reminder); // Remind choices            $('#WikiaArticle').find('*').fadeIn(2000);            $('#WikiaArticle .hidden').each(function { $(this).css('display', 'none'); });           clearstorage(reminder);        }); $('#dialog').css({           position: 'absolute',            left: Math.round(($('#WikiaArticle').width - $('#dialog').width - $('.home-top-right-ads').width) / 2) + 'px'            }); })(jQuery, this.mediaWiki, window.SpoilerAlert); }); //