getstation/electron-chrome-extension

Zoom scheduler

alexstrat opened this issue · 1 comments

Extension id: kgjfgplpablkjnlkjmjdecgdpfankdle
Chrome webstore

With electron 1.7.8 ❌

The zoom button does appear:
screenshot 2018-02-23 12 12 15

When clicking on it error in Calendar frame: VM165 concatenated_js.js:6 GET chrome-extension://__MSG_%40@extension_id__/images/zoom-video.png net::ERR_NOT_IMPLEMENTED

And in the background page:

OPTIONS https://zoom.us/mimo/login 403 (Forbidden)
XMLHttpRequest cannot load https://zoom.us/mimo/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'electron-chrome-extension://zoom-scheduler' is therefore not allowed access. The response had HTTP status code 403.

In my opinion the header Origin:electron-chrome-extension://zoom-scheduler is not accepted by zoom servers. Should override it?

With electron 2.0.0-beta.1 with #6

Same issue as above. I think we need to us setIsolatedWorldSecurityOrigin in background page as well.

Could potentially work with 1MD of work