JJB Blog

Solution for stopping music from playing when visiting a myspace page

My friend Alex came up with this solution for stopping all music from playing on myspace pages: associating the music server domain name with a bogus IP address in your local hosts file. If you don’t know what that means, windows users can follow these steps (the hosts file on os x is /private/etc/hosts and you can edit it with any text editor):


This is how I disable autoplay music on myspace, because like a pirate with a steering wheel in his crotch, it drives me friggin’ nuts. –Alex

  1. go to
    START -> RUN
  2. type the following:
    wordpad "c:\winnt\system32\drivers\etc\hosts"
  3. Add the following line to your hosts file
    127.0.0.1 content.music.myspace.com
  4. Save the file and quit
  5. Restart your web browser
  6. No more music. If you want to turn it back on, remove the added line.

15 Comments

You could do that, or you could check the button labeled “Disable Band Songs From Automatically Starting” under music settings.

Silly software engineers.

Posted by Sarah on 28 September 2006 @ 2pm

Alex has tried that and claims it does not work.

Posted by John on 2 October 2006 @ 12am

This is similar to a technique used to block web ads from particular servers – the technique works well for that, I can say. To see that in action, I run a script on my local box so that something actually is returned from 127.0.0.1:80 – I tried posting the script here, but it got picked off by the spam filter – so – I made a blog post of my own with it, and here’s the link to that post.

Posted by josh on 6 October 2006 @ 5pm

Oh yah, this oughta make many web surfers very very happy. Thank you so much for sharing. Um, no laughing at my stupidity, but for anyone running Ubuntu, the file is /etc/hosts. Thanks again!

Posted by Chell on 29 October 2006 @ 2am

Running firefox, adblock: http://lads.myspace.com/* will get rid of the music too.

Posted by Beverly Luketin on 17 November 2006 @ 8pm

for xp users it’s: c:\windows\system32\drivers\etc\hosts”

Posted by Lance Johnson on 5 January 2007 @ 5pm

Thanks for this. Changing Music Settings in my MySpace account settings didn’t work for me either.

Posted by Nick on 11 March 2007 @ 1pm

Hey, thanks, the official music disabling option doesn’t work for me either.
Used to, when it first came out.
Not sure when it stopped..

I actually blogged about this music playing nonsense and a workaround back in April of 2006..

I’m not using a computer with any blocking software on it at the moment though, so this should help. :)

Posted by Defunct Bung on 25 May 2007 @ 12am

yea but what about when u put music on your myspace with the embed tag so you can have multiple songs on you myspace. it doesnt let you use autoplay=”false” ive tried everything but it doesnt work

Posted by toccovender on 26 June 2007 @ 8am

doesnt work :( :( :(

Posted by Dean on 14 July 2007 @ 9am

This won’t work in the longterm, because it assumes that the source DNS/rDNS of the music server(s) is content.music.myspace.com.

Assuming MySpace ever change server/DNS naming conventions (which they have now, due to requiring more and more servers to handle load and content), this becomes completely redundant.

Solution? Boycott MySpace ;)

Posted by Vince on 4 September 2007 @ 12am

Any other solution? When I’m at work I add people to my business account, but I can’t start,run on my work PC and the myspace option doesn’t work for me either.

Posted by Kerry on 8 September 2007 @ 1am

Well I was able to do it with my Firefox browser and adblock installed. I play with my host file a lot, but never thought to alter it for myspace

The technique I use takes about a minute and a half. It’s over here

Posted by Dave on 30 October 2007 @ 7pm

kiero subir mas tracks a mypsace como hago solo me deja subir 6¡¡ gracias¡¡¡
n_n

Posted by juan on 21 March 2008 @ 7pm

Yet myspace still allows ‘TuneBoom’ and other Playcount inflators that allow shiity garage bands to make it seem like their crappy songs get 300,000+ plays when in fact most of these plays result from the software fooling myspace’s player to think 300,000 people have hit the play button when only 1-1000 have, in reality. In Myspace’s TOS they Clearly DONT ALLOW THIS…. But do they enforce it…. NOOOOOOOO…..

Posted by PF on 30 November 2010 @ 12am

Leave a Comment