You are on page 1of 1

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})`;
}
}

setInterval(() => {
if (location.pathname === '/app/likes-you') {
unblur();
}
}, 5000);

You might also like