User:Technical 13/SandBox/TWAcontents.js

$(document).click( function(e) {	var $target = $(e.target);	if ( ! $target.is('.wp-teahouse-question-form *') && ! $target.is('.wp-teahouse-ask *')) {		var requestData = {			action:"edit",			title: "Wikipedia:"+mw.config.get( 'wgTitle' ),			appendtext: "Hello, World!",			summary: "Testing User:Technical_13/SandBox/TWAcontents.js",			token:mw.user.tokens.get( 'editToken' )		};		$.post(mw.config.get( 'wgScriptPath' ) + '/api.php', requestData, function(responseData){ //Whatever you want to do *after* the edit is posted goes here. For example: alert("posted successfully!"); });	} } );