Comments by Ponury on scripts

1 comment

Comment on:
Myspace - Custom Layout Dis/Enable

Apr 11, 2008

This script is amazing. I was getting sick whenever I needed to visit this clogged monstrosity. And what pissed me off the most was not custom scripts but the load of stupid spam comments on every single profile page - all of them blinking, loading for ages some stupid posters that nobody gives a damn. And, adding insult to injury, pictures of tons of friends - yes, I visit a page of some music band especially to check whether Jim from Redneckville, Minnesota is their dedicated fan.
So, why do I mention it if this script cannot remove comments and friends? Well, it can... You just need to modify it slightly.

So, to remove the comment and friend sections of profile myspace pages, replace this part of code:

        + '.friendSpace table table td {width:25%!important; }, .friendSpace table table table td,.friendsComments td {width:auto!important; }\n'

with the following code:
        + '.friendSpace table table td {display:none; }\n'

	+ '.friendsComments td {display:none; }\n'

To get rid of the friends section, but leave the comments section intact, replace only

'.friendSpace table table td {width:25%!important; } 

with
'.friendSpace table table td {display:none; } 

To get rid of the comments section, but leave the friends section intact, replace:

        + '.friendSpace table table td {width:25%!important; }, .friendSpace table table table td,.friendsComments td {width:auto!important; }\n'

with:
        + '.friendSpace table table td {width:25%!important; }\n'

	+ '.friendsComments td {display:none; }\n'

So, once again - kudos to the author of this script!