Cross Site Scripting.

Discussion in 'JavaScript' started by Shamsher Nawaz, Nov 5, 2006.

  1. #1
    Can I do Cross Site Scripting. I wanna access a variable from other page which is on different site.

    Is it possible?

    I have two a frameset with two frames. One frame contains my Controls/Buttons and the other frame referencing a different site. which has the lot of input fields. I want to fill it automaticaly by pressing the button from my frame.

    Can anybody help me?

    Thanks
     
    Shamsher Nawaz, Nov 5, 2006 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    What does "different site" mean? Another domain? If so, that's not possible. Javascript cannot access other domains.
     
    nico_swd, Nov 5, 2006 IP
  3. Shamsher Nawaz

    Shamsher Nawaz Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeh its unfortunatly from other domain
     
    Shamsher Nawaz, Nov 5, 2006 IP
  4. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #4
    If the page that you are trying to fill in uses a "GET" method to get some data and then fill it in a form, you can do it.
    Bye :)
     
    JEET, Nov 6, 2006 IP