If I have an iframe loading a website from a different server, like bing.com, can I manipulate or retrieve the code from that iframe?
If not, I can do a curl request and create the iframe from that and then manipulate it, right?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In javascript you can’t access the contents of an iframe if that site resides on a different domain than the one you are loading the iframe from. You can proxy the page load by having a PHP scrip that “curls” the request. There is a lot more involved than that though to cleanly proxy another site.