trivialRANKS is a free board where friends, families and offices rank their daily game scores together. Players usually paste the text your Share button copies. With one link on your results screen, they can send it in one tap instead.
https://trivialranks.com/?add= followed by that text, URL-encoded.If the player isn’t signed in, the result waits until they sign in, then saves. A link never replaces a result the player has already logged for that game and day. Texts longer than 2,000 characters are cut off.
In JavaScript, next to your Share button:
// shareText: exactly what your Share button copies
function addToTrivialRanks(shareText){
const url = 'https://trivialranks.com/?add=' + encodeURIComponent(shareText);
window.open(url, '_blank', 'noopener');
}
Or as a plain link, with the share text filled in where the … is:
<a href="https://trivialranks.com/?add=…" target="_blank" rel="noopener"
style="display:inline-block;padding:10px 16px;border-radius:10px;background:#2f5d50;color:#fff;font:600 15px system-ui,sans-serif;text-decoration:none">Add to trivialRANKS</a>
#add= works the same as ?add=. With # the result never reaches a server log, since browsers don’t send that part of a link.
Paste a result from your game. The link below updates as you type.
Opening it saves the result for you if you’re signed in, so try it with a result you’d log anyway.
The link works for the 21 games below. For any other game the player sees “Couldn’t read that” and nothing is saved, so check yours is listed before adding the button.