My extension uses import(...) to import ES6 modules. These are getting false positive CORS errors with both a firefox add-on build and chromium build. No such CORS issues exist with the native browsers and also I have a Safari build of the extension that works fine on native Safari.
Testing requires a strava.com account and viewing of an activity with laps such as:
https://www.strava.com/activities/9472328316/laps
Store links:
https://chrome.google.com/webstore/detail/eigiefcapdcdmncdghkeahgfmnobigha
https://addons.mozilla.org/addon/sauce4strava
https://apps.apple.com/us/app/sauce-for-strava/id1570922521
Tested on
ios (ipad) 26
orion 1.4.20 (2) (webkit 8624.1.16.10.6)
Example error message:
[Error] Origin https://www.strava.com is not allowed by Access-Control-Allow-Origin. Status code: 200
[Error] Failed to load resource: Origin https://www.strava.com is not allowed by Access-Control-Allow-Origin. Status code: 200 (loader.mjs, line 0)
Work perfectly, of course. 🙂
1.4.20 (2)
26