How can I run a java script on MySpace?

Discussion in 'JavaScript' started by Ashkan, Jun 6, 2006.

  1. #1
    Ashkan, Jun 6, 2006 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    No it's not.

     
    fsmedia, Jun 6, 2006 IP
  3. Ashkan

    Ashkan Active Member

    Messages:
    117
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I haven't looked at the source in detail but it if you the snowing 'kayla' is text and not image. If you try and highlight it with you mouse you can see it is text... so it must be a javascript right?
     
    Ashkan, Jun 6, 2006 IP
  4. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #4
    Look through the code I just posted then and you will see the answer.
     
    fsmedia, Jun 6, 2006 IP
  5. DonkeyTeeth

    DonkeyTeeth Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    She's using the <marquee> tag which causes text to scroll in IE. This tag isn't used much in 'serious' web development because it only is intended to work in IE and scrolling text has kind of fallen out of favor. It obviously gives the desired effect in that profile without using coding.
     
    DonkeyTeeth, Jun 7, 2006 IP
  6. Ashkan

    Ashkan Active Member

    Messages:
    117
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Oh thanks both for explaining.

    I tried her page on a Mac using Safari web browser and it still worked...so maybe it is intended to work on IE but works on some others too.

    The reason I have asked this is because I am trying to get my BLAM button to work on MySpace ( http://www.ublam.com/miniblam.php ) so that when you press the BLAM button it goes in and out like it does using a java script.

    Anyone know how I can do that?
     
    Ashkan, Jun 7, 2006 IP
  7. sosuke

    sosuke Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Have you ever heard of Samy is my hero? Also called the "Samy worm" or "JS.Spacehero worm"

    A technical breakdown of the MySpace virus:
    http://namb.la/popular/tech.html

    Interview with Samy
    http://blog.outer-court.com/archive/2005-10-14-n81.html

    I can only assume they corrected the regex to remove this exploit.
     
    sosuke, Jun 7, 2006 IP
  8. DonkeyTeeth

    DonkeyTeeth Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    MySpace looks pretty intent on preventing any javascript in profiles. I think that trying anything new to get around that would most certainly put your account in jeapordy.
     
    DonkeyTeeth, Jun 7, 2006 IP