/**
* @author https://codepen.io/bookmarklets
* @file Get around most if not all paywalls.
Read your favorite online magazines and newspapers for free.
* Original Source {@link https://cdpn.io/bookmarklets/fullpage/NobJbq#}
*/
javascript:
if(window.location.href.indexOf("ft.com") > -1) {
(function () {
var cookies = document.cookie.split("; ");
for (var c = 0;
c < cookies.length; c++) {
var d = window.location.hostname.split(".");
while (d.length > 0) {
var cookieBase = encodeURIComponent(cookies[c].split(";")[0].split("=")[0]) + "=;
expires=Thu, 01-Jan-1970 00:00:01 GMT;
domain=" + d.join(".") + " ;
path=";
var p = location.pathname.split("/");
document.cookie = cookieBase + "/";
while (p.length > 0) { document.cookie = cookieBase + p.join("/");
p.pop();
};
d.shift();
}}})();
window.location.href="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href)+"?ClearCache=true";
alert("To read FT.com, we must redirect you through FaceBook!");
} else if (window.location.href.indexOf("technologyreview.com") > -1 || window.location.href.indexOf("investors.com") > -1 || window.location.href.indexOf("businessinsider.com") > -1) {
(function(){window.location.href = "https://outline.com/" + window.location.href})();
} else if (window.location.href.indexOf("wsj.com") > -1 ){
void((function(){var a,b,c,e,f;f=0;a=document.cookie.split("; ");
for(e=0;e 0) {
var cookieBase = encodeURIComponent(cookies[c].split(";")[0].split("=")[0]) + "=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=" + d.join(".") + " ;
path=";
var p = location.pathname.split("/");
document.cookie = cookieBase + "/";
while (p.length > 0) {
document.cookie = cookieBase + p.join("/");
p.pop();
};
d.shift();}}})();window.localStorage.clear();
window.open(document.location + "?ClearCache=true", "_self");}