Skip to content

Instantly share code, notes, and snippets.

@extramaster
Last active February 13, 2018 23:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save extramaster/0501d2b96de851cd952e to your computer and use it in GitHub Desktop.
Save extramaster/0501d2b96de851cd952e to your computer and use it in GitHub Desktop.
The Australian Paywall Bypass (Google Chrome)
I don't have the time for this.
An extension that allows for effective "bypassing" of the "The Australian" paywall, to access the pro-Liberal content.
Note: The Australian has moved to a purely subscription-based model ("hard paywall"), with the previous trick to bypass the "soft" paywall no longer working. (since, there's no longer a "soft" paywall).
For real news (with no bias or material agenda), check out: http://www.abc.net.au/news/
For news, check out: http://www.smh.com.au/
For news.com.au style clickbait, have a glance at: https://au.news.yahoo.com/ http://www.9news.com.au/ http://tenplay.com.au/news/national
Oh and remember to install: "Murdoch Block" https://chrome.google.com/webstore/detail/murdoch-block/moepiacmhnmbiilhpojodnaopndhddpg (not affiliated)
Ironically, with intent to install a government to stall Australia's "NBN", news corp generates income online, proving the web to be superior then traditional "print" media.
The Australian, a news corp "newspaper" offers a digital service that allows the public to purchase access to selective and bias news.
This extension bypasses the Great Paywall of The Australian using the very same technique that The Australian uses to maintain its relevance online, and enables effectively "free" access to the Australian articles.
This extension can help you:
Read The Australian for free
Find articles that will cover Tony Abbot's plans for The Australian
Get a summary of the Liberals "Keeping it real" solutions
Spend millions of dollars on the public in midst of a financial crisis
Sell off Medibank
Get free subscription to The Australian (well, kinda..)
Bypass paywalls
Bypass a News Corp paywall
Bypass The Australian's paywall
Vote for the Liberals
Copyright: Open Source, Public Domain.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
function ModifiedReferer(e) {
var a = {};
return a.requestHeaders = ChangeRefer(e), a;
}
function ChangeRefer(e) {
var a = e.requestHeaders,
r = !1,
o = !1;
if (1 == localStorage.cookiesdetect) var o = !0;
localStorage.cookiesdetect = !1;
for (var t = 0, s = a.length; s > t; t++) 'Referer' == a[t].name && (o || (a[t].value = 'http://www.google.com.au/search?q=the+australian'), r = !0), 'Cookie' == a[t].name && (o && (a[t].value = a[t].value + ';n_regis=' + Math.round(new Date().getTime() / 1000) + 200), localStorage.cookies = a[t].value);
return 0 == r && a.push({
name: 'Referer',
value: 'http://www.google.com.au/'
}), a;
}
var wR = chrome.webRequest;
wR.onBeforeSendHeaders.addListener(ModifiedReferer, {
urls: ['http://www.theaustralian.com.au/*', 'https://www.theaustralian.com.au/*']
}, ['requestHeaders', 'blocking']);
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
@Villaris88
Copy link

Hi, how do I add this to Chrome? Usually there is a single crx file for the extension? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment