Valheim items, on your website
Add one script and link to an item. Your readers can hover over the link or focus it with their keyboard to see its stats, without leaving your guide.
Try it here
Bring Frostner and a few Sausages on your next expedition. Hover over either item, or use Tab to focus its link. Press Escape to dismiss the tooltip.
1. Add the script
Paste this once into your page’s HTML, before </head> or </body>.
<script src="https://maxdps.com/valheim/tooltips.js" defer></script>
2. Link to an item
Copy an item’s address from MaxDPS and use it in a normal link. Existing links work too.
<a href="https://maxdps.com/valheim/weapons/frostner">Frostner</a>
Weapons, armor, shields, trinkets, elixirs, food, ammunition, materials, and tools are supported. Links added later by your website also work automatically. Clicking still opens the item page.
Choose a quality level
Tooltips show quality 1 by default. Add data-maxdps-quality to show another available quality. Values are the item’s base stats; player skills, durability wear, and equipment bonuses are not assumed.
<a href="https://maxdps.com/valheim/weapons/frostner" data-maxdps-quality="4">Frostner, quality 4</a>
Keep a link plain
Add data-maxdps-tooltip="off" to a link or its surrounding element to disable tooltips there.
<a href="https://maxdps.com/valheim/items/sausages" data-maxdps-tooltip="off">Sausages</a>
Built from the game
The tooltip uses Valheim’s extracted fonts, panel artwork, colors, and layout measurements. Browser text rendering and your display’s scaling can differ from the game. Stats come from the same published catalog as the item pages; this is an item reference, not a snapshot of a player’s inventory.
Tooltips load only when needed and keep your page’s styles separate. Item-data requests send no cookies. On touchscreens, links open normally. If the tooltip cannot load, the link still works.
Using a Content Security Policy?
Allow https://maxdps.com/valheim in script-src, style-src, connect-src, font-src, and img-src. The snippet loads its stylesheet, fonts, artwork, and item data from that origin.

