Skip to content

Instantly share code, notes, and snippets.

@eagl3s1ght
Forked from tajnymag/tinder.user.js
Last active November 25, 2022 18:47
Show Gist options
  • Save eagl3s1ght/2331ab7b2745b0a82ada4a32150f8c9e to your computer and use it in GitHub Desktop.
Save eagl3s1ght/2331ab7b2745b0a82ada4a32150f8c9e to your computer and use it in GitHub Desktop.
Tinder Deblur Userscript
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/app/*
// @grant none
// @version 1.2.1
// @author Tajnymag
// @co-author Eagl3s1ght
// @downloadURL https://gist.githubusercontent.com/eagl3s1ght/2331ab7b2745b0a82ada4a32150f8c9e/raw/tinder.user.js
// @description Simple script using the official Tinde API to get clean photos of the users who liked you
// @changelog 1.2.1 - Added small image links on the page to open the images in a larger format
// ==/UserScript==
async function unblur() {
const teasers = await fetch("https://api.gotinder.com/v2/fast-match/teasers", { "headers": { "X-Auth-Token": localStorage.getItem('TinderWeb/APIToken') }}).then(res => res.json()).then(res => res.data.results);
const teaserEls = document.querySelectorAll('.Expand.enterAnimationContainer > div:nth-child(1)');
const body = document.querySelectorAll('body')[0]
const div = document.createElement('div')
for (let i = 0; i < teaserEls.length; ++i) {
const teaser = teasers[i];
const teaserEl = teaserEls[i];
const teaserImage = teaser.user.photos[0].url;
div.innerHTML += `<a href="${teaserImage}"><img src="${teaserImage}"></a>`
teaserEl.style.backgroundImage = `url(${teaserImage})`;
}
body.appendChild(div)
}
setInterval(() => {
if (location.pathname === '/app/likes-you') {
unblur();
}
}, 5000);
@lokieonline
Copy link

This has been patched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment