Tooltips for your site
Put ForeverDB's item and spell tooltips on your own guide, blog or fan site with one line of HTML. Every link to a ForeverDB item or spell then shows the same tooltip as on ForeverDB, from the WoW Forever client's data. It's free, with no account or key.
Add it to your page
<script src="https://foreverdb.net/embed/tooltips.js" async></script>
Linking
The script finds links to https://foreverdb.net/item/<id> and https://foreverdb.net/spell/<id>,
and any element with data-foreverdb="item:<id>" or data-foreverdb="spell:<id>".
<a href="https://foreverdb.net/item/1482">Shadowfang</a>
<span data-foreverdb="spell:145">Fireball</span>
Options
icons(data-icons): the item's or spell's icon in front of the link.colorLinks(data-color-links): item links in their quality colour, darkened on light pages so they stay readable.renameLinks(data-rename-links): the link text becomes the item's or spell's name.- Set them on the script tag, as
window.ForeverDBTooltips = { icons: true }before it, or per link withdata-foreverdb-icons="false".
Phones and keyboards
On a touch screen the first tap shows the tooltip, a second tap opens the link and a tap elsewhere closes it. Tabbing to a link shows its tooltip; Esc closes it.
Privacy
- No cookies, no local storage, no analytics and no ads. The script loads nothing from anyone but ForeverDB.
- It only reads links to ForeverDB and only sends the ids of their items and spells. Data and icon requests carry no referrer.
- Nothing is fetched until someone hovers or taps a link, unless icons, colours or renaming are on.