Skip to content

Google Chrome extension demonstrating how to bypass paywalls implementing the Google's First Click Free Program for Web Search

License

Notifications You must be signed in to change notification settings

lucagervasi/fcf-pass-chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Google Chrome extension demonstrating how to bypass paywalls implementing the Google's First Click Free Program for Web Search.

This extension is meant for educational and research purposes ONLY. Do NOT attempt to violate the law with it. Using this extension, you accept that you are going to use it for educational and research purposes ONLY.

QuickStart

  1. Download & unpack the extension files somewhere in your computer.

  2. Replace occurrences of example.com in manifest.json and background.js files by the domain name of the paywalled site implementing Google's FCF policy (e.g. ft.com, nytimes.com, etc.).

  3. Visit chrome://extensions in your browser.

  4. Ensure that the Developer mode checkbox in the top right-hand corner is checked.

  5. Click Load unpacked extension... to pop up a file-selection dialog.

  6. Navigate to the directory where the extension files live, and select it.

  7. Start browsing the paywalled site.

Alternatively, you can simply drag and drop the directory where the extension files live onto chrome://extensions in your browser to load it.

How it works?

The extension simply (1) intercepts every outgoing HTTP request to ft.com; (2) removes Referrer and Cookie HTTP headers; and (3) sets a fake HTTP referrer that will bypass the access control layer at ft.com thanks to the Google's First Click Free Program for Web Search.

Please, check the source code for extra information and alternative implementations.

Conclusions

This extension is a trivial PoC of how any paywalling logic based on client side state (including slightly more sophisticated anonymous access control solutions based on browser fingerprinting or persistent cookies) are easily breakable with a browser extension intercepting HTTP requests.

Want to know more about high performance paywalls? Please, contact Allenta Consulting, the Varnish Software integration partner for Spain and Portugal.

About

Google Chrome extension demonstrating how to bypass paywalls implementing the Google's First Click Free Program for Web Search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%