Originally posted by Jack Daniels
Already up and running and has been so since forever.The quote button is Javascript. You can verify this yourself by inspecting the element or looking at the page source:
Originally posted by
<a href="javascript:;" onclick="reply('49746957')" class="buttonSmall"><span>Quote</span></a>Near the top of the page source, you'll also notice this line:
Originally posted by
<script type="text/javascript" src="/javascript/game/forum_thread.js?10"></script>The
forum_thread.js script provides the
reply() method called when you click the quote button.
Originally posted by
function reply(id) {
var content = $('post_content_' + id).innerHTML;
var user = $('user_name_' + id).innerHTML;
content = content.replace(/.*\<\/span\>/gim, '');
content = reply_replace(content);
if (content.replace(/\n|\r/g, '').length) {
if (document.all) {
if (content.match(/\[\/QUOTE\]/)) {
$('reply_box').value += 'Originally posted by ' + user + '
' + content + "\n\n";
}
else {
$('reply_box').value += 'Originally posted by ' + user + '
' + content + "\n\n";
}
}
else {
$('reply_box').value += 'Originally posted by ' + user + '
' + content + "\n\n";
}
}
else {
var content = $('post_content_' + id).innerHTML;
content = content.replace(/\<span class=\"?quote\"?\>Originally posted by \<b\>([^\<]*)\<\/b\>/gim, "Originally posted by $1
");
content = content.replace(/\<\/span\>/gim, "");
content = reply_replace(content);
$('reply_box').value += 'Originally posted by ' + user + '
' + content + "\n\n";
}
window.scrollBy(0, 50000);
$('reply_box').focus();
}You can verify that excerpt by viewing the entire script at
http://glb.warriorgeneral.com/javascript/game/forum_thread.js.If
reply() isn't working for you, it's either because your browser isn't processing Javascript or you've modified it in some way. If you say that you have Javascript enabled, then obviously we look at what you're running in TamperMonkey. If you can link me to what you're running, I'll check it out.