Skip to content Skip to sidebar Skip to footer

How To Embed An External Webpage Without Using Iframe?

I am trying to embed amazon website in a webpage. Something like what is done here: http://en-jo.amazon.shop.cashbasha.com/ I tried to use iframe, but Amazon prevents it from being

Solution 1:

It appears like the website you are referencing achieved this by entering the pure javascript code and html into their webpage. Be careful with this site, as it could be a phishing scam.

Solution 2:

I don't think you're going to get much traction with this approach. Browsers are getting very particular about iframes and mixed security levels. Attempting to find hacks to circumvent this on your client is bound to fail in the long run and puts your users at risk.

Ref: How Can I Bypass the X-Frame-Options: SAMEORIGIN HTTP Header?

Incidentally, I wouldn't (and didn't) click a link formatted like the one you posted. If I see Amazon in the URL, I expect it to be the base domain. Otherwise, I assume it was designed to fool a user, so even if a technical solution is found, I don't think you should want to deploy this in practice.

Solution 3:

You can use the X-Frame-Bypass Custom Element, which allows you to bypass X-Frame-Options: deny/sameorigin.

Post a Comment for "How To Embed An External Webpage Without Using Iframe?"