Hacker News new | ask | show | jobs
by michjeanty 6010 days ago
The only problem is that many browsers (or is it the server I'm requesting from?) don't allow javascript to access something on a different server. So this type of thing doesn't work: window.frames['craigslist_iframe_id'].document.getElementById('something_on_craigslist').innertHTML

The firefox javascript console says "Permission denied" for accessing window.frames['craigslist_iframe_id'].document

Is there something I'm misunderstanding that could help me overcome this hurdle? Is the only solution to have the user copy and paste what they already wrote?