Click here to Skip to main content
Licence CPOL
First Posted 14 Jul 2008
Views 13,081
Bookmarked 4 times

Remove MySpace IM Ads

By | 14 Jul 2008 | Article
Get rid of the unwanted advertisements from the bottom of MySpace IM
Download noadMySpace.txt - 450 B

Introduction

Many of us use the popular MySpace Instant Messenger; but if you are like me, you find the advertisements at the bottom to be, not only an eyesore, but annoying; not to mention that on some PC's, it can slow them down. I will show here a very simple, and free way of ridding yourself of those ads.

Background

I must admit, I am not a fan of adware, though I do realize it helps generate revenue for the company releasing it; so as a point, I am not saying to arbitrarily annihilate them. If you find some ad there to be of interest, then by all means, click through. If you are like me and have not seen a single one that sparked the least bit of interest, why keep them?

Using the code

Navigate to the following:

C:\Program Files\MySpace\Skins\_Common

Find the UI_ContactsAdUnit.xml file

Right click on it and select edit (should open with notepad)..

You should see something similar to the following lines of code:

           <!-- CONTACTSLIST_AD_IMAGE -->
<ImageControl>
  <Name val="CONTACTSLIST_AD_IMAGE" />
  <Visible val="false" />
  <Image path="&WIN_IMG_AD;" />
  <AlignPivot val="true" />
  <AlignPivotPos x=".5" y="0" />
  <Layout>
    <XPos val="0.5" type="percent" />
    <YPos val="7" type="minimum" />
  </Layout>
</ImageControl>                                                          
<!-- CONTACTSLIST_AD_CONTROL -->
<BrowserControl>
  <Name val="CONTACTSLIST_AD_CONTROL"/>
  <Visible val="false" />
  <Layout>
    <TopPos val="-(&WIN_AD_HEIGHT;+5)" type="maximum" />
    <RightPos val="(&WIN_AD_WIDTH;/2)" type="center" />
    <BottomPos val="-5" type="maximum" />
    <LeftPos val="-(&WIN_AD_WIDTH;/2)" type="center" />
  </Layout>
</BrowserControl>



The portion we are concerned with is the code that begins with

<!-- CONTACTSLIST_AD_CONTROL --> 

Highlight that line of code all the way to the last BrowserControl

</BrowserControl> 

So you should have the following code highlighted:

<!-- CONTACTSLIST_AD_CONTROL -->
<BrowserControl>
  <Name val="CONTACTSLIST_AD_CONTROL"/>
  <Visible val="false" />
  <Layout>
    <TopPos val="-(&WIN_AD_HEIGHT;+5)" type="maximum" />
    <RightPos val="(&WIN_AD_WIDTH;/2)" type="center" />
    <BottomPos val="-5" type="maximum" />
    <LeftPos val="-(&WIN_AD_WIDTH;/2)" type="center" />
  </Layout>
</BrowserControl> 

Now delete those lines (or just backspace), then click save. If you don't feel comfortable making this change to the file, copy and paste the original, unchanged file. somewhere for a backup.

Points of Interest

Basically all this does it remove the reference from the programs' XML file that tells it to "show me some ads"; no code, no ads!

I have noticed a slight drop in my cpu and memory load after this mod, may not be much on some systems, but when you run as many processes/programs as I do (90+), every little bit helps!

History

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

haxial

Website Administrator
www.Secret-Tech.com
United States United States

Member

30 Years old, Married w/ 5 children
Web Administrator
Pursuing Bachelors' Degree in Software Engineering

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralRe: Pinmembersteveaustin19802:51 27 Jun '11  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 14 Jul 2008
Article Copyright 2008 by haxial
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid