Two floating buttons
Lokl: https://lokl-web.basharatusman-a.workers.dev · organization lokl-test-account
Expected on this host (an allowed website)
Exactly one pill (the first, solid, at 16 px). The second is skipped; the browser console says "Lokl: only one floating booking button can be mounted on a page."
If you see the plain "Book now" link instead, embed-lab.allegco.com is not on the organization's allowed websites yet: that is the blocked result, and a mismatch for this host.
Expected on this host (not an allowed website)
Lokl refuses to show its booking embeds on this website, so there is no booking panel, no empty box and no error frame. Where each embed would be, you see:
- A plain black Book now button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-account/dinner-shared/torontoin the same tab. - A plain black Book now button that opens
https://lokl-web.basharatusman-a.workers.dev/book/lokl-test-accountin the same tab.
Only one link: the loader skips the second floating embed before it even asks Lokl. Floating buttons also fall back to an ordinary link in the page, not one pinned to the corner.
Lokl also makes a blocked-website record: the owner sees "A browser reported that embed-blocked.allegco.com tried to show your embed…" in Settings › Embed, with an Add it button. It is saved at most once an hour per website, so reloading does not add entries.
Each box is what Settings › Embed copies for that embed. This page loads widget.js once, at the bottom.
1. first floating (offset 16)
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-position="floating"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed:
2. second floating (offset 120, should not appear)
<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-style="outline" data-position="floating" data-offset="120"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>Live embed: