Posted: Wed Apr 14, 2010 11:13 pm
It is empty and any pms I send get lost in the netherworld. Help?
-T
-T
Code: Select all
// ==UserScript==
// @name StoreOutgoingPMsByDefaultOnFao
// @namespace http://henrik.heimbuerger.de/greasemonkey/
// @description WTF doesn't FAO store outgoing PMs by default!?
// @include http://www.freeallegiance.org/forums/index.php?act=Msg&CODE=04*
// @include http://www.freeallegiance.org/forums/index.php?CODE=04&act=Msg*
// ==/UserScript==
// from http://www.joanpiedra.com/jquery/greasemonkey/
// Add jQuery
var GM_JQ = document.createElement('script');
GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
// Check if jQuery's loaded
function GM_wait() {
if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
else { $ = unsafeWindow.jQuery; letsJQuery(); }
}
GM_wait();
// All your GM code must be inside this function
function letsJQuery() {
//alert($); // check if the dollar (jquery) function works
$('input.checkbox[name="add_sent"]').attr('checked', 'checked');
}Works! Thanks!Bard wrote:QUOTE (Bard @ May 15 2010, 10:02 PM) I had forgotten until just today but Cort wrote this a while back.
I just tested it again with the current board version (it was written before our CSS got fubared) and it works.