javascript security whith frames - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

javascript security whith frames

gamepowergamepower Posts: 3Member
i am trying to display all the number of links of a page
i hava a page whith 2 frames the rightframe is a website like google.com
in the left frame i have the folowing code :









i now get a Access is denied message
i testid the script whith a self made page with random links and than the script worked OK it gave the number of links and the links it self

can't I read info from a differant domain?

Comments

  • WeirdofreakWeirdofreak Posts: 439Member
    I'm afraid not. That would be too large a security hole. It would be possible to do what you're attempting with a server-side script, but Javascript alone can't.
  • gamepowergamepower Posts: 3Member
    : I'm afraid not. That would be too large a security hole. It would be possible to do what you're attempting with a server-side script, but Javascript alone can't.
    :




    thanks i'm just gooing to have to vind a other way
Sign In or Register to comment.