Proof of concept for Haaretz website reader.
๐ก This Chromium extension was created in order demonstrate that the premium identification mechanism of Haaretz web site is not effective.
Number of messages regarding to this issue sent to Haaretz using the website contact form on the site, and not responded so far.
Do not use this code in any activity which is not for a demonstration.
Using of this code for any other purpose may violate copyrights or criminal law.
Haaretz website allow none premium users to watch premium content if they click on an article link in social networks like Facebook or Twitter.
The current mechanism only check the "Referer" header sent with the HTTP request.
This extension is using chrome/API to add a "Referer" header to each 'Haaretz' request with random value (for now, only Facebook and Twitter).
- Clone/copy/fork/download the source code.
- Open Chrome or Chromium web browser.
- Browse to chrome://extensions/
- Select "Developer mode" checkbox (if not selected).
- Click "Load unpack extension..." button and choose the project src directory.
- Make sure the extension is mark as "Enabled".
- Browse to "Haaretz" website, and enjoy.