User:TheGreatMobo/Page.js

$('.Button').html('Sign!'); function ChangeCount { var user = wgUserName; user.replace(/"/g, '');   var Nope = $('.guestnames').find('.'+wgUserName);    if (Nope.length) {        alert('You have already signed!');    }    else {        $('.guestnames').append(''+user+' ');        var HTML = $('.mw-content-ltr').html;        HTML = $('.mw-content-ltr').find('ul').remove;        HTML = $('.mw-content-ltr').find('br').remove;        HTML = $('.mw-content-ltr').find('p').remove;        HTML = $('.mw-content-ltr').find('noscript').remove;        var Names = $('.mw-content-ltr').html;        var Token = mw.user.tokens.values.editToken;        var Summ = 'Signing Guestbook';        $.post("/api.php", {action: "edit", title: wgPageName, token: Token, text: Names, summary: Summ});    } }