Summary
The days of remotely loading JS files is coming to an end with manifest v3 (on browser extensions). Since Stripe does remote loading of JS code anyway - it would be good to have an alternative way to load Stripe from a static JS file that can be bundled inside a packaged browser extension.
I totally understand the benefits of remotely loading JS files (like loading the latest stable version), but as new security policies are implemented, this will not always be an option for every platform to load code remotely. There are also performance benefits of having a simple static JS file, while using remotely loaded json for any additional configuration (if needed).
Other information
Info about this change:
https://developer.chrome.com/docs/extensions/mv3/intro/mv3-overview/#remotely-hosted-code
Summary
The days of remotely loading JS files is coming to an end with manifest v3 (on browser extensions). Since Stripe does remote loading of JS code anyway - it would be good to have an alternative way to load Stripe from a static JS file that can be bundled inside a packaged browser extension.
I totally understand the benefits of remotely loading JS files (like loading the latest stable version), but as new security policies are implemented, this will not always be an option for every platform to load code remotely. There are also performance benefits of having a simple static JS file, while using remotely loaded json for any additional configuration (if needed).
Other information
Info about this change:
https://developer.chrome.com/docs/extensions/mv3/intro/mv3-overview/#remotely-hosted-code