-
-
Save eagl3s1ght/2331ab7b2745b0a82ada4a32150f8c9e to your computer and use it in GitHub Desktop.
Tinder Deblur Userscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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); |
ghost
commented
Feb 18, 2022
does this work?
This has been patched
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment