Skip to content

Instantly share code, notes, and snippets.

@tajnymag
Last active November 5, 2024 10:01
Show Gist options
  • Save tajnymag/9de74305f9bb09aa940d26418bd508f1 to your computer and use it in GitHub Desktop.
Save tajnymag/9de74305f9bb09aa940d26418bd508f1 to your computer and use it in GitHub Desktop.
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see https://github.com/tajnymag/tinder-deblur)
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/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)');
for (let i = 0; i < teaserEls.length; ++i) {
const teaser = teasers[i];
const teaserEl = teaserEls[i];
const teaserImage = teaser.user.photos[0].url;
teaserEl.style.backgroundImage = `url(${teaserImage})`;
}
}
if (typeof GM_info === 'undefined') {
console.warn(
'[TINDER DEBLUR]: The only supported way of running this script is through a userscript management browser addons like Violentmonkey, Tampermonkey or Greasemonkey!'
);
console.warn(
'[TINDER DEBLUR]: Script was not terminated, but you should really look into the correct way of running it.'
);
}
console.warn('[TINDER DEBLUR]: This version has been deprecated. Please see https://github.com/tajnymag/tinder-deblur');
setInterval(() => {
if (['/app/likes-you', '/app/gold-home'].includes(location.pathname)) {
unblur();
}
}, 5000);
@hamzaaitbrik
Copy link

Do you think it is possible to revert the uuid used in the url of the image to find the ID of the match ? like this /preview.gotinder.com/˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅ https://preview.gotinder.com/30b2d849-482c-4393-ac64-416528df8fec/original_820e2e81-425d-45c9-a507-9e8420464ee7.jpeg (don't try the link i changed it for privacy :) ) and the id is like 5cf3aeffeaa9e915008c50a6

Willing to work on this if you elaborate more.

@rem053
Copy link

rem053 commented Jul 25, 2023

Is this currently still working? I downloaded the script and it is not working for me.

@825i
Copy link

825i commented Jul 25, 2023

Is this currently still working? I downloaded the script and it is not working for me.

This was patched well over a year ago. Thanks for reminding me to unsubscribe from comments.

@YonLiud
Copy link

YonLiud commented Jul 25, 2023

Is this currently still working? I downloaded the script and it is not working for me.

Nah, patched already

@rem053
Copy link

rem053 commented Jul 25, 2023

Thanks for the info.

@Galosy1
Copy link

Galosy1 commented Feb 21, 2024

Worked for me.

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