GithubHelp home page GithubHelp logo

yuvadm / free-haaretz Goto Github PK

View Code? Open in Web Editor NEW
155.0 25.0 22.0 12.38 MB

A nefarious browser extension that easily bypasses the haaretz{.co.il,.com} paywall

CSS 5.42% JavaScript 82.59% Makefile 12.00%

free-haaretz's Introduction

Free Haaretz

A nefarious browser extension that easily bypasses the Haaretz paywall.

If things aren't working as expected, make sure to reinstall (update) the extension from time to time, to make sure you have the latest code.

Install

Installation has to be done manually. I'm not interested in distributing this extension in the Mozilla / Google addon 'stores'.

Firefox

  1. Download the add-on XPI file

  2. Firefox should automatically identify the XPI file and request permission to install it.

  3. Click Allow and then Install to install the extension.

Chrome / Chromium

  1. Download the extension ZIP file

  2. Unzip the file.

  3. In Google Chrome (or Chromium), in the address bar go to chrome://extensions

  4. In the top right corner, click to enable Developer Mode.

  5. Click the Load unpacked extension button.

  6. Navigate to the folder you unziped your code to, and select it.

  7. The FreeHaaretz extension should now be loaded.

Troubleshooting

Things not working? Follow these steps:

  • Make sure you're running the latest version
  • Clean your browser cache and cookies

Noticed a bug? Open an issue.

License

This code is in the Public Domain, do whatever you want with it, I'm not responsible.

Public Domain

free-haaretz's People

Contributors

0xnurl avatar da2r-20 avatar inbar avatar noam-r avatar yuvadm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

free-haaretz's Issues

Gracefully handle URLs with referrers

As you probably know one can can subscribe to - for example - הכתבות הנקראות באתר הארץ - and get emails with links to haaretz articles.

Suddenly these last few days the extension can't unblock the articles referred to by those emails (the paywall message is displayed after 1-2 paragraphs).

The extensions continues to work fine if I manually remove the referrer part of the the URL.

So can you please strip down the referrer part of the the URL.

e.g. http://www.haaretz.co.il/news/politics/.premium-1.3070069?utm_content=news%2Fpolitics%2F1.3070069&utm_medium=email&utm_campaign=%D7%A2%D7%9E%D7%95%D7%A1+%D7%94%D7%A8%D7%90%D7%9C&utm_source=smartfocus&utm_term=20160916-16%3A53

Comodo Icedragon 48.0.0.2 (a fork of Firefox)
free haaretz 0.7.1
Win 7 x64

Thanks in advance.

0.93 xpi appears to be corrupt(?)

hi,
trying to install the 0.93 xpi on firefox 53 x64 for windows-
shows "the add-on could not be installed because it appears to be corrupt"
the same xpi installed successfully on my firefox for android.

THANKS!!!

Works great in Firefox, but not in Chrome

I've got the extension installed in Chrome and I can see it in my extension list, but when I paste a Haaretz URL into my address bar I get the usual behavior and am blocked by the site.

UPDATE: I paused my ad blocker for Haaretz.co.il in Chrome and now it works! I didn't realize the ad blocker could conflict with the extension.

The extension works perfectly in Firefox though.

chrome disables after restart

and there is no way to enable it back.
The only solution is to upload to the Chrome Store. Is the possible / legal?

Small documentation suggestion

First, thanks a lot for fixing the addon. The previous 0.9 version has stopped working lately and the new 0.9.1 fixed everything.

Only one small suggestion. Add "when upgrading from an older version make sure in the Addons Manager that it was overrided and if not remove it" to the Troubleshooting segment of the addon homepage (the new 0.9.1 version has a different extension id than the 0.9 version).
Thanks in advance.

Error in onBeforeSendHeaders event handler

This error shows up on the background page, seemingly without actually affecting behavior:

Error in event handler for webRequest.onBeforeSendHeaders/2: Invalid value for argument 4. Property 'url': Unexpected property.
Stack trace: Error: Invalid value for argument 4. Property 'url': Unexpected property.
    at validate (extensions::schemaUtils:34:13)
    at Object.normalizeArgumentsAndValidate (extensions::schemaUtils:117:3)
    at Object.<anonymous> (extensions::binding:307:30)
    at subEventCallback (extensions::webRequestInternal:89:28)
    at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
    at EventImpl.dispatchToListener (extensions::event_bindings:397:22)
    at Function.target.(anonymous function) (extensions::SafeBuiltins:19:14)
    at Event.publicClass.(anonymous function) [as dispatchToListener] (extensions::utils:93:26)
    at EventImpl.dispatch_ (extensions::event_bindings:379:35)
    at dispatchArgs (extensions::event_bindings:247:26) extensions::uncaught_exception_handler:9handler extensions::uncaught_exception_handler:9exports.handle extensions::uncaught_exception_handler:15EventImpl.dispatch_ extensions::event_bindings:384dispatchArgs extensions::event_bindings:247dispatchEvent

Probably want to fix this.

The new 0.9 version doesnt work on Pale Moon 27

First, thanks a lot for keeping this addon alive.

Last year I left "Firefox" and now I use Palemoon (which started as a Firefox Fork a few years ago) mainly since its great 27 version (November 2016).
Free Haaretz is the only addon I have which worked before on Firefox but doesn't work or have a replacement in Palemoon.
On the new 0.9 version I get - "addon seems to be corrupt"

On Cyberfox 50.1.0 I get the same "addon seems to be corrupt"
Cyberfox with Free haaretz 0.7.1 (after updating the install.rdf) - It works. Here is the updated xpi -
https://mega.nz/#!QkczyJaK!aoERQ6ynW-7A6pgNnFIUMzxz88wkiV7A2CMOnRC-MSk

The new 0.9 work fine with Firefox, Waterfox & Icedragon

Chrome browser - works fine
Firefox for android - haven't checked

Win 7 x64
Thanks in advance.

android problem

the patch works grate! but seems that the new patch not working on android (kiwi browser)
any clue?

Since thursday, 4/10, Haaretz is blocking the add on

טרם ביצעת
אימות
לכתובת הדוא"ל
שלך.

לאימות כתובת הדוא"ל שלך

לחצו כאן
סגירה
הודעת האימות נשלחה לחשבון הדוא"ל שלך -

יש לאשרו מתוך ההודעה שקיבלת כדי לסיים את התהליך.

התרחשה שגיאה,

אנא נסו שנית במועד מאוחר יותר או צרו קשר עם

שירות הלקוחות.

Talkbacks aren't shown on Android

Hi

Very nice add-on, but using Android, on TheMarker site, when the add-on is enabled - talkbacks are not shown.
If I disable the add-on, the article itself is blocked (by the paywall) but the talkbacks are visible.

**This only happens on android, checked in firefox & kiwi browsers. On PC everything is OK.

Can you fix this please?
Thanks

Granular JS blocking

Current implementation entirely blocks JS code under the haaretz domain, this has the side effect of video clips and slideshows not working.

A better solution can just disable the annoying code that launches a JS alert and then redirects back to the homepage.

Haaretz and TheMarker status code 403

Hi,

Thanks for the add-on!
It seems that Haaretz (and TheMarker) are detecting the add-on and are throwing error 403 when trying to access any page from these domains.
Same issue is occurring with Bypass Paywalls extension:
iamadamdev/bypass-paywalls-chrome#1004

Tested on Firefox:
Desktop Version: 82
Mobile Version: 68.10
Add-On Version: 0.9.7

1

premium.highlight

Haaretz start adding premium.highlight to the url and the add on is not working.

will there be an update or this project has been abandon ?

Haaretz redesign caused new issues

Hi.

  1. On Firefox (windows 10) the comments section stopped loading.
  2. On Firefox mobile (android) trying to open paywalled articles leads to homepage.

Please look into this,
Thanks.

stopped work in Chrome

היי,
הפסיק לעבוד בארץ בגוגל כרום, שנכנסים לאתר עם התוסף האתר לא עובד בכלל ומציג דף ריק לבן:
צילום מסך: http://prntscr.com/lgazhv
קורה בכרום
תודה!

הארץ שינו עיצוב והתוסף הפסיק לעבוד

שלום יובל
הם כל הזמן בשנה האחרונה מנסים לשבש את התוסף שפיתחת
כעת הם ביצעו שינויים בהפניות וב URL
כך שהתוסף לא עובד עכשיו בכלל

יש אפשרות לסדר את זה בבקשה? יש לתוסף הזה עשרות אלפי משתמשים
וזה שירות דמוקרטי ממעלה ראשונה בתקופה כזו

תודה רבה

Unified build script

We can probably use npm out of the box to run

  • the firefox jpm commands to generate an XPI (what about signing?)
  • git archive on the chrome directory to generate the ZIP
  • throw all artifacts into dist/

javascript googlebot verification

now they added some javascript code that checks if you are really a googlebot or not.
this redirects you back to a payment wall.

I've managed to bypass this by disabling javascript for the site, not the ideal solution.

Blocked by Haaretz since this morning

הדפדפן שברשותך מנסה לעקוף את מנגנון התשלום של הארץ
אתר זה זמין באופן מלא למנויים בלבד

Error 403 Forbidden message

page won't open, get below error message:

Error 403 Forbidden
Forbidden

Error 54113
Details: cache-sof1510068-SOF 1661298114 146881536

Varnish cache server

Reading List

A significant part of the webpage is hidden by this explanation of the so called "Reading List". Although there's an X button to try and close this pop-under - it can not be closed. Also, it appears to happen on every page on the site. Perhaps it's an attempt to block the plugin users from seeing content, because when I turned off the plugin it did not appear at all.
default

Works on Palemoon 26 with 0.4 but not with 0.7.1

I tweaked the install.rdf to make the extension compatible with Palemoon also.

free-haaretz 0.4 FF & PM.xpi
https://mega.nz/#!c9MwBZKK!e_GU0bt0EtD0PUppbwknnLOK06nWJ0NBMrzPkB2cyaM
Works both in FF and PM

free-haaretz 0.7.1 FF & PM.xpi
https://mega.nz/#!lp1W0RBC!9--jhwezrFEGtfmiQRB-h73wgtVG52uOu3wUdjPHV8M
Works on FF 46.0.1
Not working on PM 26.2.2 (x64) (The site brings its paywall block)
e.g http://www.haaretz.co.il/gallery/.premium-1.2948044

To make the extension work with palemoon I just added the next lines to the install.rdf

 <!-- PaleMoon -->
<em:targetApplication>
  <Description>
    <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
    <em:minVersion>25.0</em:minVersion>
    <em:maxVersion>50.0</em:maxVersion>
  </Description>
</em:targetApplication>

BTW - The extension id has changed some months ago so you must uninstall the old extension before installing the new version (otherwise both will be installed)

Thanks in advance.

Stopped working

Hi,

Can you please check why i'm getting the buy promotion popup?

thanks

FreeHaaretz (0.3.1 and 0.4) is blocking features on new site version (Jan 16)

Haaretz made few code changes that now blocks some feature if the add on is enabled (chrome). any JS code is not responding or working properly if the add on is enabled.

  1. can't rate or view comments
  2. cant disable by clicking on X to "follow reporter" (new feature on top of each article)
  3. special issue site also does not work properly and content is being overlapping by main image.
    for example
    http://www.haaretz.co.il/gallery/relevant/.premium-1.2832249

10x

Problems blocking ads

  1. On Firefox (Windows 10, Windows 7 and Android), When using the "uBlock Origin" add-on, trying to open a paywalled article leads to a redirection to the page https://www.haaretz.co.il/hblocked .
  2. The adding of the following lines to "uBlock Origin" -> "My Filters" doesn't help:
    ||www.haaretz.co.il/htz/js/inter.js
    ||www.themarker.com/st/c/static/heb/inter.js
  3. The adding of the following cookies to F12 of Windows-Firefox doesn't work either:
    document.cookie = "HtzPusr=1"
    document.cookie = "TmPusr=1"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.