Dolvik
Dolvik

Reputation: 100

Is it possible to open a Chrome External Protocol Request through a Chrome Extention Content Script?

I've always been confused on how to use an external protocol request.

My external request url is 'playUpun://launch:5122' and I am trying to call it from a Content Script that'll be running from the webpage and keep getting an error about

jquery.js:4 XMLHttpRequest cannot load playUpun://launch:5122. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

Upvotes: 2

Views: 589

Answers (1)

Dolvik
Dolvik

Reputation: 100

Found the solution via External protocol request

Had to use an <a href=""> div flag.

Upvotes: 1

Related Questions