☰

Tinder: show teasers (deblur)

Show the last people who liked you for free: this script deblurs the photos of the teasers, revealing the people who liked you. This script only allows you to see those photos: you can't directly access the profiles like you would do with a paid account.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        Tinder: show teasers (deblur)
// @name:it     Tinder: mostra i teasers (rimuove la sfocatura)
// @description Show the last people who liked you for free: this script deblurs the photos of the teasers, revealing the people who liked you. This script only allows you to see those photos: you can't directly access the profiles like you would do with a paid account.
// @description:it Mostra gratis le ultime persone che hanno apprezzato il tuo profilo: questo script toglie la sfocatura dalle foto dei teasers, rivelando le persone a cui sei piaciuto/a. Questo script permette solo di vedere le foto: non puoi accedere direttamente ai profili come faresti con un account a pagamento.
// @namespace   StephenP
// @author      StephenP
// @match       https://tinder.com/*
// @grant       none
// @version     1.0.0.1
// @contributionURL https://buymeacoffee.com/stephenp_greasyfork
// @icon  data:@file/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAM1BMVEUAAAAaDg9FExc+IiSHJC5mRUazNEa9RkD/PHflSV//RG+Va237ZF7/b1m0g4bXnaL/xMh03AoiAAAAAXRSTlMAQObYZgAAALRJREFUKM91kIkSwyAIRBO8gGDi/39twSu2HdcZXfeJ13GswmMjxC3YINwR3BBG1pxxTdpghJcSZu5D19y6WiJk0sZzL4ree+0AIJqP1EoiuOsKFlKE5mMF7iqqxxELubt5y89Qqm4g8sOfBp42KY4EyvC20wSJpv+reJaK9wyRrzPGrSCJJGj+bA/Uu4egeTZS/Xh58kmXZ8k5S7KXj78SU+5N9X672OKuNVcy0p9c1cmcfwCutQ25ADm5EQAAAABJRU5ErkJggg==
// ==/UserScript==
(function(){
  setInterval(check,2000);
})();

function check(){
  if((document.location.href.includes('/app/likes-you'))||(document.location.href.includes('/app/gold-home'))){
    var cards=document.querySelectorAll('.Expand.enterAnimationContainer');
    for (let i = 0; i < cards.length; ++i) {
      if(cards[i].children[0].style.backgroundImage.includes("images-ssl")){
        deblur(cards);
        break;
      }
    }
  }
}

async function deblur(cards) {
  console.log("Deblurring photos...");
  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);
  for (let i = 0; i < cards.length; ++i) {
    
    const teaser = teasers[i];
    const teaserDiv = cards[i].children[0];
    
    const picture = teaser.user.photos[0].processedFiles[1].url;
    
    teaserDiv.style.backgroundImage = "url(\""+picture+"\")";
  }
  console.log("Deblurring photos: done!");
}