A
A
Andrey2016-10-28 23:42:09
JavaScript
Andrey, 2016-10-28 23:42:09

Is it possible to receive messages in the chrome extension from a page with any url?

I'm trying to write an extension that will accept a request from a page with any url, perform certain actions and send back the result. Run into a mistake.

There were warnings when trying to install this extension:
Wildcard domain patterns such as " https://*/* " are not allowed

Part of the manifest:
"externally_connectable": {
  "matches": ["https://*/*"],
  "accepts_tls_channel_id": true
}

Help, maybe there is a standard method or a hack?
Important clarification:
I do not mean intercepting requests from site pages to external URLs that need to be worked with using chrome.webRequest and the "permissions" directive in the manifest.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question