1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/javascripts
Emi Matchu 5b2062754d swf_assets/show action to embed a canvas movie in a sandboxed iframe
Not using this on the item page preview yet, but we will!

I like this approach over e.g. a web component specifically for the
sandboxing: while I don't exactly *distrust* JS that we're loading from
Neopets.com, I don't like the idea of *any* part of the site that
executes arbitrary JS unsafely at runtime, even if we theoretically
trust where it theoretically came from. I don't want any failure
upstream to have effects on us!

I copied basically all of the JS from a related project
`impress-media-server` that I had spun up at one point, to investigate
similar embed techniques. Easy peasy drop-in-squeezy!
2024-07-03 19:50:41 -07:00
..
closet_hangers Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
fundraising/donations Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
items Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
lib swf_assets/show action to embed a canvas movie in a sandboxed iframe 2024-07-03 19:50:41 -07:00
outfits Fix various JS Turbo issues 2024-03-13 21:26:22 -07:00
pets Run Prettier on some of our JS assets 2024-02-18 20:34:55 -08:00
swf_assets swf_assets/show action to embed a canvas movie in a sandboxed iframe 2024-07-03 19:50:41 -07:00
ajax_auth.js Run Prettier on some of our JS assets 2024-02-18 20:34:55 -08:00
outfit-viewer.js Refactor outfit-layer component to use internal state API, not attrs 2024-07-02 22:34:51 -07:00