Coder Social home page Coder Social logo

wsjunblock's Introduction

Make WSJ & NYTimes Great Again:

Get around the paywall for many Wall Street Journal, New York Times and Financial Times content

Update in Apr 2017:

  • Fact: WSJ has an advertisement popping up every single time we read an article, too much!
  • Idea: After checking their code, I find the pop-up ad is triggered by a javascript file, so let's just block it, using the same logic that we blocked the NYTimes gateway javascript.
  • Extra: The pop-up ad will stay disappeared as long as the WSJ developers do not change the javascript names, I am sure they will at some point. So this is a practical but not ideal solution for right now.

Update in Jan 2017:

  • Fact: WSJ has blocked https://www.google.com referer randomly on desktop.

  • Idea: I changed the referer to facebook or twitter, both are working great again:). The logic is that we can read the full WSJ article if we click through a twitter or facebook link of the article. So far they have not blocked these referers.

  • Extra: Add Financial Times www.ft.com to our list. FT and WSJ are using the same logic for paywall, so it can be accessed in the same way.

How It Works as in July 2016:

For Wall Street Journal:

  • Fact: WSJ full content can be accessed if the content link is clicked from google search result page.

  • Idea: Set the following headers for the link you click:

    • Referer: https://www.google.com
    • Cookie: <NONE>
  • Reference: The logic is copied from wsj-walljumper

For New York Times:

  • Fact: NYTimes pops up subscription window and blocks content view after you read 10 pieces/month, clearly they use Javascript to do the trick.

  • Idea: Block those Javascript files from downloading :)

  • Sugggestion For NYTimes Developers: concatenate the minified Javascript files, and maybe attach a random string in your concatenated Javascript filename?

Interested in development process?

Install Instructions

  • click "clone or download", download zip. The downloaded file is an unpacked chrome extension, unzip it into a directory.
  • Visit chrome://extensions (via omnibox or menu -> Tools -> Extensions).
  • Enable Developer mode by ticking the checkbox in the upper-right corner.
  • Click on the "Load unpacked extension..." button.
  • Select the directory containing your unpacked extension.
  • Reference: How to install an unpacked chrome extension

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

For more information, please refer to http://unlicense.org/

wsjunblock's People

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.