News for hackers. Stuff that matters.
Re:Placemark is now open source by KomoD on Friday January 19, 2024 @04:37PM (#39061552)
That's funny, he checks if the referrer is HN and then redirects to Google

      if (document.referrer) {
        const ref = new URL(document.referrer);
        if (ref.host === 'news.ycombinator.com') {
          window.location.href = 'https://google.com/';
        }
      }
Re:Placemark is now open source by ncts on Friday January 19, 2024 @06:13PM (#39062682)
Well: https://macwright.com/2022/09/15/hacker-news. Still, it can be easily bypassed by an extension that cleans referrer (which is more or less good for privacy I guess?)