Show HN: A bookmarklet to remove clickgates on New York Times, Medium, etc.

  • Here is a gist of the commented code. It works by fetching the HTML content of the website, anonymously with no cookies. Using the fetch API. In a second step the HTML is preprocessed, removing javascript, inserting elements like images that might be done through javascript etc. The third step is to rerplace the current windows HTML with the clean-preprocessed HTML with the article.

    https://gist.github.com/sugoidesune/884bfdf8a975920e98e7307e...

  • https://medium.com/@tgaul/introducing-unobstruct-230e4e95cf5...

    works nicely for iOS/mobilesafari.

  • Good stuff timar - this definitely beats my trick of hitting the Esc key at just the right moment to stop JS from loading. I've gotten very good at that, but also life is very short and I shouldn't need to! So your bookmarklet will come to the rescue :)

    Could this be integrated with Firefox's Reader mode somehow?

  • Do you think the 1,600 journalists at The New York Times, many of whom work in difficult environments (including the White House, lol), should work for free? Quite the Scrooge move.

  • Thanks! I've been looking for something like this for ages. I use Brave browser on my android and pc. This will be super handy!

  • I though people are paid for posting on medium?

  • How to use it with mobile Chrome on Android?

  • Thank you. Both for the code and for giving me an inspiration. :)

  • This is fantastic

  • This one is also quite helpful:

    https://github.com/iamadamdev/bypass-paywalls-firefox

    ... for all of the folks out there who don't have a university picking up the tab for the articles that they want to read.

    It's important to remember that paywalls disproportionately impact those who are not "working" in an academic setting.

  • this it's literally facilitating copyright infringement

    if you don't want to pay for them is fine, just don't read them