发布于 2026-01-06 1 阅读
0

使用 JavaScript 公开谁在 Tinder 上喜欢你。

使用 JavaScript 公开谁在 Tinder 上喜欢你。

我刚看到这篇文章。

https://thenextweb.com/apps/2020/03/04/its-painfully-easy-to-see-whos-liked-you-on-tinder-without-paying-for-gold/

根据文章所述,Tinder 使用了 CSS filter: blur(12px;)

对于 Web 应用程序来说,这完全说得通,因为生成带掩码的图像需要一些工作。

我查看了网页版应用,发现 Tinder 使用的是某种加密方式react,导致无法直接访问“谁喜欢过我”页面。

  1. 请访问https://tinder.com/app/recs
  2. 点击侧边栏中的照片,前往https://tinder.com/app/likes-you
  3. 打开 Chrome 浏览器Developer Tools
  4. 将以下代码粘贴到控制台中。
const getPiclinks = () => {
  const all = document.querySelectorAll(".StretchedBox");
  const start = all.length/2; // divide by 2 because StretchedBox class is also used by the div in the side bar 
  const end = all.length;
  for(let i=start; i<end; i++) {
    const url = all[i].style.cssText.replace('background-image: url("', '').replace(")", '');
    console.log(url);
  }
}
Enter fullscreen mode Exit fullscreen mode
  1. 在控制台上运行该函数
    类型getPiclinks

  2. 点击控制台显示的链接,
    您将看到指向图像的链接。

文章来源:https://dev.to/0xkoji/expose-who-s-liked-you-on-tinder-with-js-1i41