svkrishnagavva
asked on
Approach to Load external web site in our website is not working
Hi,
we need to Load external web site and show it as a live website tile in our application where x-frame-options set to same origin for the external website.
We followed below approaches but nothing is working.
Please help us to know any framework/approach to achieve this.
Iframe : < iFrame src="www.xyz.com">
Ajax Approach : Ajax HttpGet Call to the external web siteand get the html and render on our website.But replacing the image, css and html links from html is not working properly.
Web Request Approach : Server side HttpGet Call to the external web siteand get the html and render on our website.But replacing the image, css and html links from html is not working properly.
we need to Load external web site and show it as a live website tile in our application where x-frame-options set to same origin for the external website.
We followed below approaches but nothing is working.
Please help us to know any framework/approach to achieve this.
Iframe : < iFrame src="www.xyz.com">
Ajax Approach : Ajax HttpGet Call to the external web siteand get the html and render on our website.But replacing the image, css and html links from html is not working properly.
Web Request Approach : Server side HttpGet Call to the external web siteand get the html and render on our website.But replacing the image, css and html links from html is not working properly.
ASKER
Its an Inetrnal Web appllication of our comapany.
so that i cannot share the link.
so that i cannot share the link.
You can test on your own as I suggested and you can provide sample html where you replace the linked site to something else.
ASKER
Yes.
we did it.
The response is X-Frame options set to same origin and unable to display the website.
We dont have any control on the other application to same their x-frame-options.
we did it.
The response is X-Frame options set to same origin and unable to display the website.
We dont have any control on the other application to same their x-frame-options.
So you figured it out! Awesome!
ASKER
No.
We are waiting for other approach to display the website.
X-Frame options set to same origin means its not working.
We are waiting for other approach to display the website.
X-Frame options set to same origin means its not working.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The base code should include the full url like below. Your example does not do that.
Open in new window
Open in new window
Can you post a link to your site for us to view?