I am trying to create a Google chrome extension, where I need to take content of other website. I’m using jQuery because many suggested me to use it for Google extensions. Is it possible to take the content of another website using jQuery? If so, please show me how to do this.
If not, I have seen many Google extensions doing this. Can anybody tell me how to achieve it.
Look up
iframesfor a native HTML solution – https://developer.mozilla.org/en-US/docs/HTML/Element/iframeAlternatively, research using the jQuery
.load()function – http://api.jquery.com/load/. However, the functionality of this is limited by the same origin policy