A
A
Alexander Sulimov2016-12-14 22:22:02
Google Chrome
Alexander Sulimov, 2016-12-14 22:22:02

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

1 answer(s)
V
vitosgeen, 2021-03-03
@vitosgeen

This helped me
https://ru.stackoverflow.com/questions/787449/%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question