Skip to content


MySpace Hacks – Non-Friend/Search Image Trick [Fixed]

After reading this article you will be 150% more proficient in the art of filling up a MySpace people search page with an image of your choosing, AND fill up the browser with an image of your choosing when non-friends view your profile. To see this in action simply browse to MySpace.com and do a people search for “Jordan Smert“. Lovely, is it not?

Ok, under the guise of pleasing our total of 3 (three) readers, I’ve decided to do another article about MySpace hacks. Though I indeed want to please readers, I also crave attention in the form of comments and *ahem* $0.07 per day in ad revenue. Who am I kidding, we don’t even make that, but who cares right!?

Anyway, here I go again (on my own (-Whitesnake)).

I made my own MySpace tracker to see who was browsing my profile in the dead of night…and because as noted before I am quite nosy. *Ponders* Hmmm a home made MySpace tracker could be a future article indeed.

So I may or may not have noticed my girlfriend’s ex-boyfriend checking out my profile from time to time, I refuse to incriminate myself for reverse-spying. I then set my profile to private, and because my tracker was situated within the body of my profile, it could then not be accessed by the random non-friend. Eventually this got to me, how do I get around this?

If you happen to look at a private profile you will notice that you can see the person’s: Headline, Age, Location, Gender, Last Login, and Mood. Note that none of these fields are suitable for entering text into, besides of course header. Header it is, I said, and pasted my tracker within the field. It worked right off the bat. Now I could track anyone who came to my profile, but not differentiate between friends and non-friends (who cares right?).

I began to ponder more, should I mess with him in an awesome and hackerific way? Of course I should. I then decided to set up a profile theme specifically for non-friends. This consisted of entering HTML code into the headline field in MySpace’s profile editor. UNFORTUNATELY, through much trial and error, which I will spare you the specifics of, MySpace filters most HTML. Why did my MySpace tracker work fine? It is an <img> tag…one of the few tags it will not filter out.

Okay, fine, I said. I’m a CSS guru, I’ll just use this. So finally we come to the meat of the story and what you want to see:

Insert this into your MySpace headline, for awesomeness:

<img src="YOUR PIC HERE" class="nfpic" style="position: absolute; left:0px; top:0px; width:100%;" />

And THIS into any other field (About Me, I’d Like to Meet, Interests, Music, Movies, Television, Books, Heroes):

<style>
.nfpic { display: none; }
</style>

Just put the URL to your picture, within the quotation marks as noted, and you will be all set, the second css needs no modification. Do a MySpace people search for yourself, or log out of MySpace and try to view your profile to see your picture in all it’s glory come up. Note: if your profile is NOT private then your picture only shows up on a search page. If you do not put the second code in your profile, the image will take over your profile, like Godzilla in Tokyo. The first section of code CAN co-exist with your pre-existing headline provided it is not too long, place the code before or after it.

A little more explanation:

The key to this NOT messing up your profile is the second section of CSS code, because this section is viewable to people who can see your full profile as it is in one of the aforementioned sections. It tells the picture to NOT show up at all. Because people who do searches for you do not get to see that section of your profile they don’t get their browser to not see the picture, so haha to them. Note also that this doesn’t necessarily block your information fully, people can still remove the image and see your location/age if they are savvy enough. When you do a search for your name in MySpace, your image will show up on whatever page YOU show up on. So John Smith, if you’re new to MySpace, I’m sorry…it’s gonna be over page 500. However if you make up a cool name like Jordan Smert you might very well be on your own page.

Long story short, MySpace filters most tags but the img tag in your MySpace headline, and filters very very little inline CSS (Z-Index most notably, damned flash banners being on top).

Have fun, I care more if MySpace fixes this, because I love the mayhem.

Update (January 26, 2008)

MySpace has changed their search result page. The new page doesn’t show your headline and the image won’t appear. It is still possible to run across it searching for interests but it is far less useful now.

Posted in MySpace.


28 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Jason says

    LOL, I almost peed my pants when I saw the picture on your search page.

  2. Jordan says

    That is because you fail at NOT peeing your pants. Constantly.

  3. Cindi says

    I think I love you.

  4. Kristi says

    This is awesome, great work!
    Is there any fix for users with IE? It seems to only work for FF.

  5. Jordan says

    And I KNOW that I love you guys.

    Anyway, sorry for the late response. Thank you Kristi for bringing that to my attention, damned IE and it’s non-compliancies. From what I see in my two second investigation, it shows the pic, but doesn’t resize it. Two solutions: use a huge ass photo. Or the better way: change “width: 100%” to “width: 1000px”. 1000 pixels is about/more than the typical width screen (for now), but you can set it to whatever you want. Thanks again for pointing this out.

    Cindi, call me ;)

  6. NC says

    Jordan, this is brilliant.

    I can’t get it to work, though. :( It just shows two dots. That is what shows up after I save all changes on the editing page. What am I doing wrong? Thank you!

  7. Jordan says

    NC I can only suggest copying the first code precisely and putting it in your headline. Do nothing else, and save the profile. If it still filters (e.g. puts “..”) then something out of my control and yours is happening. Though I highly doubt MySpace is filtering only SOME profiles. If it doesn’t filter it out however, continue modifying. Also make sure you’re pasting the whole code in the headline, there’s a limit to the length in that box. Yay, that gave me an idea for a new MySpace trick…

  8. N C says

    Jordan,

    I tried again, several times, even on my “extra” myspace page that isn’t modified, at all. I couldn’t get it to work. “..” was all that showed. :( It is a brilliant idea and I hope yours keeps working! XOX

  9. tyler says

    i think that Nc’s problem is that he or she has copied the code but failed to put the url in the spot for the url. this does, in fact, replace it with “..”. i hope this helps =]

  10. Richard says

    actually, you can use the z-index tag, but it gets filtered once you go past 9

  11. Richard says

    by the way I have no idea why I called it a tag

  12. J says

    The part that goes into the headline is too long, meaning the headline won’t allow for that many characters. Is there some way past this?

  13. Jordan says

    There’s a way to take the limits off the input box, but it doesn’t matter because MySpace will cut it off anyway. You’ll have to cut it down somehow…

  14. i8ntrt says

    Works great for me but only when searching by email address. When searching by name or display name no search no results are found. Any idea why this would happen. My display name is i8ntrt.

  15. Jordan says

    MySpace takes some time to update sometimes, I would almost bet that’s the reason.

  16. Wolfenn says

    MYspace takes time to update, your kidding, right, I entered search for my name, no such file exists, I made my file 2 yrs ago

  17. taylor says

    please. can someone help me. by hiding everything in your headline. just how old you are, where you live, your sex, and your actual headline. and then after that then i can put whatever text i want to in my headline. like anything. please help me. i will love you forever if you help me.

  18. Jordan says

    Taylor – Typically to hide info on the search page people will put <font style=”display: none;”> in their headline..

  19. luvbug says

    you R gr8 but how do you make the picture tile and your info show up, it just put one big picture on the screen and nothing else.

  20. luvbug says

    can you tell me how to put it as a background so all the other gud stuff can be seen?

  21. Amanda says

    Im wondering if there is a code to make all of my information that my ‘non friends’ can see be hidden. My myspace is private but my boyfriends ex wife is trying to start stuff with us and I just had a baby and want to put her picture as a default but I dont want her being able to view it. I saw anothe site but couldnt get the code to work.. anything you may be able to help with would be greatly appreciated. She went as far as to search all the hospitals in the area to find my daughters newborn picture..

  22. Boricuasa says

    I tried the codes but it does not work!! :( Can you help me on how to put the code into the section that says ‘PUT YOUR PIC HERE” what exactly do I put there???? I guess that is the part i am doing wrong because it does not work. Nothing happens. does it take some time before you actually can see the effect?

    how do I put the pic in the section? Do I get the pic from my PICS in myspace and/or how do i get a graphic that moves like yours??? HEEEEEEEEEEEEEELPP I want this, I NEED IT!!!

  23. Nemesis says

    This code doesn’t work since today (Feb.24, 2009) the code shows on the headline cause probably the headline section is filtered, i went to my page on “private view” without logging in and the page looks normal, the image doesn’t shows anymore! Can this be fixed???

  24. Nemesis says

    The image trick doesn’t work anymore! The code is visible on “private view” and invisible when you log in your profile. The black image i used to have to cover my whole page on private view doesn’t work at all :(

  25. Beatrix says

    Has anyone noticed that ANY/ALL/MOST html codes placed in the Headline section of a private profile are now visible? No matter if the code is a graphic, or tracker, or hide your last login, or whatever? Only the html code shows and seems to no longer work as intended. Is there a fix or are the headline codes now forever doomed for those of us who wish to keep our profiles private?

  26. Jason says

    Yes I believe they fixed the headlines and they will be like that permanently.

  27. sarah says

    Yours still works. What’s the trick? I played with different sections…but, sadly, Pennywise only became html. It’s very sad.

  28. Jason says

    The comments have been closed.