I am new to javascript and not sure if googling it correctly. Is there any way how to open any website (not owner of that document) from main application (I am owner of this document) -> inject javascript code and retrieve the output of that code. So My app -> injecting js code to any webpage -> retrieving data from diff domain webpage to my app.
I can do this 2 way communication for same domain but cannot figure it out how to do it for diff domain.
Thanks.