User:Glflegolas/common.js

$(".MiniEditorWrapper").each(function(index, wrapper) {   wrapper = $(wrapper);    wrapper.find(".replyButton, #WallMessageSubmit, .submit").click(function(e) { var sign = ("~".repeat(3)); var editframe = wrapper.find("iframe"); var inner = editframe.contents.find("#bodyContent"); inner.html(inner.html+sign); }); });