i’m working on a simple application that loads an external url (google.com) into a tabpanel.
using ajax request:Ext.Ajax.request is not working because of the access control allow origin.
i know how to load local html, how to allow access control on local sever.
my problem is when i don’t have access to the external server.
is there anyway to load an external url?
i tried Ext.util.JSONP.request and it didn’t work.
here’s a senchafiddle example on tappanel and loading url (not written by me):
link
What you can do is load it in an iframe. I have compiled a component you could use for this purpose
Usage:
Important notice: loading URLs from an external domain in an iframe is considered a security flaw