Is the tag safe?
Putting someone else’s code on your website is a fair thing to be careful about. Here is exactly what ours does, in plain English first, then the technical detail for your developer.
What it does
- For your normal visitors: their browser downloads one small file (about 4 KB) from deadweb.fun. The file checks the page address, sees no player, and stops. No more requests, nothing added to your page, nothing stored.
- For players (people who clicked through from Dead Web Fun): it shows a small panel in the corner, hides an egg on your page, and when the egg is clicked it opens the game over your page. Closing the game puts everything back.
What it never does
- It never sets cookies or uses long-term browser storage.
- It never reads your forms, your page text or what anyone types.
- It never loads ads or any other company’s code.
- It never changes your page’s look: the egg and panel live in a sealed layer that your styles can’t reach and that can’t reach your styles.
- The game runs in a separate window from deadweb.fun. Browsers keep it walled off, so it can’t read or change your page.
What we can see
- Every visitor: when the file downloads, deadweb.fun receives what any hosted script, font or image receives: the visitor’s IP address, browser type and your site’s address. You may want to mention Dead Web Fun in your privacy policy, as you would for analytics.
- Players only: the page they are on and how long they stay, so we can count the visit for your site and check the game was really played.
Payments
Checkout is hosted by Stripe. Card details go straight to Stripe and never touch our servers.
The honest part
Like any script you add (Google Analytics, a chat widget, a booking tool), the tag runs inside your page, so you are trusting us to keep it safe. We keep it small, it only talks to deadweb.fun, and every release has a version number you can check. Don’t want it any more? Delete the line and it’s gone immediately.
For your developer
- One
<script async>tag, about 4 KB gzipped. Inactive unless the URL has?wwg=(a player’s run token) or#wwg-test(the install check). - When active: one
sessionStoragekey (wwg_t, the player’s run token for this tab). No cookies, nolocalStorage. Requests usecredentials: 'omit'. - Network:
POST https://deadweb.fun/api/egg/*only (visit check, a ping every 5 seconds while the tab is visible, game ticket). The game is an iframe fromhttps://deadweb.fun/play/frame. - UI renders in a Shadow DOM. Text from our server is inserted as text, never as HTML. No
eval. postMessagefrom the game frame is accepted only from our origin, and can only navigate to pages on our origin.- Content Security Policy: allow
https://deadweb.funinscript-src,connect-srcandframe-src. - Version:
window.WWG.version.
Ready? List your site.