Answer the question
In order to leave comments, you need to log in
Chrome extension how to organize an exchange between two sites?
It is necessary to allow ordinary users to copy information from the DATA site to my MY site.
I think that using the chrome extension will be the easiest way.
Getting data from the DATA site - I did it.
There are several questions.
1. after receiving the data, I would like the user to check them first.
var result = { data = 'test' };
chrome.windows.create({ 'url': 'showresult.html', 'type': 'popup' }, function (window) {
a) how to pass result to showresult.html'?
b) is it correct to create windows via chrome.windows.create?
2. The extension has access only to the site where it was opened i.e. DATA website
a) is it possible to somehow transfer the object to the MY site (open it in another tab with authorization)?
or
b) do some kind of API on the MY site for authorization and data transfer
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question