Forum Moderators: open
What i basically want to do is to manipulate or access the DOM of a document within an iframe.
So far, I've tried this on orkut's homepage (to access the iframe containing the Google Accounts Login)
As entered in FireFox's address bar:
javascript:alert(window.frames[0].document.getElementById('t').innerHTML); void(0);
If I try this, I get the following error (in the Error Console):
Error: uncaught exception: Permission denied to get property HTMLDocument.getElementById
How can I access and modify the DOM of an iframe?