boomerang icon indicating copy to clipboard operation
boomerang copied to clipboard

Integrate Plugins into asynchronous loader snippet

Open MariusBrill opened this issue 2 years ago • 3 comments

Hi everyone,

i would like to integrate plugins into boomerang loaded with the asynchronous loader snippet (the one using iframes). Do you have any example on how i can do this?

Best regards, Marius

MariusBrill avatar Sep 06 '22 07:09 MariusBrill

Hello @MariusBrill

Our readme is kind of long but somewhere in the middle we have documented the asynchronous loader snippethttps://github.com/akamai/boomerang/blob/master/README.md

We have the full source code and a minified version in the readme.

Does this work for you?

ceckoslab avatar Sep 06 '22 20:09 ceckoslab

Specifically if you want to add plugins, you need to run the build script with your plugins, that will create a single minified file that you use with the loader.

Note that it is no longer recommended to use the iframe loader as that is for legacy browsers. Use the link rel=preload loader which falls back to iframe for older browsers.

bluesmoon avatar Sep 06 '22 20:09 bluesmoon

@MariusBrill here is also a tutorial about building Boomerang: https://akamai.github.io/boomerang/akamai/tutorial-building.html

ceckoslab avatar Sep 06 '22 22:09 ceckoslab

Hey guys, Sorry for my late reply! Just saw the ticket again and saw that I didn't answer. @ceckoslab the tutorial helped me a lot! Thank you so much :)

MariusBrill avatar Dec 14 '22 17:12 MariusBrill

@MariusBrill : Could this closed?

SaschaBrechmannVHV avatar Jan 17 '23 12:01 SaschaBrechmannVHV