O
O
Optimus2016-07-01 20:16:37
JavaScript
Optimus, 2016-07-01 20:16:37

Can browser plugins make requests to third party sites?

Take for example the simplest plugin that shows the TIC of the site that is currently open in the browser. The plugin, probably, in order to get this information, needs to go somewhere (either to Yandex or to a third-party up-to-date database). Where can I read in general terms how to do this? And you can also write browser plugins in JS, but JS does not have the ability to make requests to third-party sites, how is this done? Or when JS is in a plugin, it's like how the server works?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2016-07-01
@bingo347

They can, regular ajax (with the only difference that CORS is not required) as well as websocket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question