MyspaceMozilla





MyspaceMozilla 0.9 Beta - Coding MySpaceMozilla

MSM Scripts

Below are a selection of MSM Scripts. Simply copy and paste them into your msmscript.js file.

Remember: Copy and paste the script you want into the js file, OUTSIDE of the MSM_Initial function, then place a call for the function inside MSM_Initial().

As an example: If you wanted the Annoy-Free forum script, copy and paste the script into your msmscript.js file, at the bottom of the file, so its literally the last line in the file when you hit the PASTE command. Then place the following line: MSM_aff(); inside the MSM_Initial function (in between the { and } brackets) so that the script will be called. Please see the Coding FAQ for further details if you still dont understand.



TO1 Annoy-Free Forum V6 - (GreaseMonkey script converted)

Add this line inside MSM_Initial() function:

MSM_aff();

Then add the following outside of the function:

function MSM_aff(){

var MSMs="";
MSMs+= '<style>body {display:block !important;}\n';
MSMs+= '#forumwide {position:relative; left:100;}\n';
MSMs+= '#side_google, #ad-wrap, #srch, #leaderboardRegion * {display:none;}\n';

if(window.content.location.href.match(/forum\.myspace\.com.*messageboard.viewCategory*/))
{
MSMs+= 'td p {position:relative; left:-40; width:125px; overflow:hidden;}\n';
MSMs+= 'td h2 {max-height:75px; width:200px; overflow:hidden;}\n';
MSMs+= 'a[href*="viewThread"]:before {content:"*";}\n';
}

if(window.content.location.href.match(/forum\.myspace\.com.*messageboard.viewThread*/))
{
MSMs+= 'td.author a:first-child {display:block; max-width:125; overflow:hidden;}\n';
MSMs+= 'td.author a img {max-width:90px;}\n';
MSMs+= 'blockquote:first-child {max-height:300; overflow:auto;}\n';
MSMs+= 'div.aboutuser {width:125; overflow:hidden;}\n';
MSMs+= '#topreplybtn {position:relative; z-index:10;}\n';
MSMs+= 'div.sidetwo {position:fixed;}\n';
MSMs+= 'table#pipsez {margin-left:30;}\n';
MSMs+= 'div.postbody * img {max-width:500; max-height:500;}</style>\n';
}

MSMs= '<style>'+MSMs+'</style>';

content.document.body.innerHTML = MSMs + content.document.body.innerHTML;

// end MSM_aff
}




Remove Cool New People

Add this line inside MSM_Initial() function:

MSM_removecoolnewpeople();

Then add the following outside of the function:

function MSM_removecoolnewpeople(){

var MSMcool ="";
MSMcool +="<style>#splash_coolNewPeople {display:none!important;}</style>";

content.document.body.innerHTML = MSMcool+content.document.body.innerHTML;

//end MSM_removecoolnewpeople
}






If you require any more help please contact me on Myspace at www.myspace.com/myspacemozilla

Cheers,

Dave





Midi