Skip to content

Embedding in Another Site

Firefly QSL can be embedded in another website with an <iframe>, so people can get their QSL card without leaving your club website or your QRZ.com page.

Example

<iframe src="https://example.com/qsl/"
  sandbox="allow-forms allow-scripts allow-same-origin allow-downloads"
  width="1000" height="700" style="border: 0;"
  title="Get your QSL card"></iframe>

Change src to the address of your Firefly QSL install, and change width and height to fit the page. The layout adjusts to the width it is given.

The sandbox Attribute

If you use the sandbox attribute, it must list everything Firefly QSL needs, or parts of it will stop working inside the frame:

Value Needed for
allow-forms The callsign search and the QSO selection
allow-scripts Form checks, the menu, and the theme switch
allow-same-origin Remembering the light or dark theme choice
allow-downloads The Download Image for Printing button

Don't leave out allow-downloads

Without allow-downloads, browsers block the card download inside the frame. People can see their card but can't save it.

Leaving the sandbox attribute off entirely also works.

Loading Logs and the Card Designer

Embed the public page only. To load logs, export the log or use the Card Designer, open Firefly QSL directly in the browser rather than through the embedded frame.