TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do Chrome extensions bypass server-side paywalls?

1 pointsby fleroviumalmost 2 years ago
The following chrome extension seems to accomplish the magic of bypassing a server-side paywall.<p>How? Server-side means the content isn&#x27;t even sent to the browser. What can the browser do?<p>https:&#x2F;&#x2F;gitlab.com&#x2F;magnolia1234&#x2F;bypass-paywalls-chrome-clean

2 comments

aiunboxedalmost 2 years ago
If you see this code<p><a href="https:&#x2F;&#x2F;gitlab.com&#x2F;magnolia1234&#x2F;bypass-paywalls-chrome-clean&#x2F;-&#x2F;blob&#x2F;master&#x2F;contentScript.js" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;magnolia1234&#x2F;bypass-paywalls-chrome-clean...</a><p>It is a 5000 piece of if else conditions where the author has handled each website separately.<p>The author is few techniques like - redirecting to amp websites &#x2F; mobile websites - checking google cache for the mobile data - removing paywall modals which might be coming<p>Just from the look of the couple of implementations, i don&#x27;t think it will be able to render server side paywalls.<p><a href="https:&#x2F;&#x2F;pastes.io&#x2F;1sp8o1nsxm" rel="nofollow">https:&#x2F;&#x2F;pastes.io&#x2F;1sp8o1nsxm</a><p>Look at the implementation for medium.com, it is just about manipulating the dom. (I might be wrong :))
mikequinlanalmost 2 years ago
For &quot;soft&quot; paywalls (where, for example, a certain number of articles a day&#x2F;week&#x2F;month are available for free), the extension convinces the server that this user is unique and hasn&#x27;t seen any other articles yet.