Four JavaScript Lines to Defeat New York Times Paywall
toys.euri.ca
toys.euri.ca
I can have it deployed on http://graphics8.nytimes.com/js/common.js which is on every page within the next 20 minutes (if I skipped code review etc). Any developer here at the Times could do that and anything else that was required.
The point is I won't.
We'd rather fix bugs that affect our readers and work on making the site better. Thats much more rewarding.
However if you feel that the Times content is worth writing a new browser extension for, or all the hours you spend keeping on top of updating code as we change DIV id and class names.... then maybe, just maybe, there might be something on the Times site of value?
Maybe worth (dare I say it...) actually paying for.... ? Gasp!
UPDATE: Hi NiemanLab & This is just my own personal opinion :)
Edit: I'm not condoning stealing content, just wondering why you're depending on the client to self-censor.
2. That said, this is useful for the high school or college student who doesn't have the 20 dollars to spend.
I'd be more worried about people bypassing your page and just emailing the articles to each other, actually.
And that is why startups are rarely successful.
Really?
Or did you just think it was a snappy retort?
If you really do think that the primary reason most startups fail is because they're not keeping up with the news, I'd really, really like to understand your point of view - I have a lot to learn.
Thanks.
> "...those of us in startup mode don't need
> the time sink of keeping up with the news..."
That's saying that startups already don't have enough time to do what they need, so even more time sinks are a Bad Thing(tm)The comment then was:
> And that is why startups are rarely successful.
> ^^^^
The "that" seems to be referring to not keeping up with the news. That, in turn, then says to me that not keeping up with the news is the primary source of failure.Maybe I'm wrong. I'd love to hear what he actually meant. I certainly can't parse it as you suggest.
I hear that a lot. Lots of people can't afford a subscription. I understand that.
A lot of the same people say its too much yet they spend more at Starbucks for their daily Venti, sugar-free, non-fat, vanilla soy, double shot, decaf, no foam, extra hot, Peppermint White Chocolate Mocha with light whip and extra syrup :)
/Arizona
You could also just keep data from being given to the user in the first place, but you won't do that, either.
I don't care about most of the content, but like Feynman picking safes the interesting thing is the intellectual challenge of seeing if one can break the lock.
Also last time I tried to sign up (back when it was free) doing so was a total pain in the ass, so I ended up deleting the cookies instead.
Of course, there is a contingent that believes there is no similarity between something like this and stealing since nothing physical is taken (but I'm not in that camp).
When you make a web request to the NYT servers, they are willfully distributing a copy of that content to you. Obviously, you're not allowed to do anything you want with the content (like sell or otherwise redistribute it), but I certainly think you can manipulate it and view it any way you want.
That's like saying the cops can use heat-sensors to look at houses, because thats just electromagnetic signal and you can render it however you want. No invasion of privacy there right?
I would argue that since the NYT is willfully delivering you the content of an article and merely instructing your browser to conceal it, that's a far cry from "trying to 'lock' their door." If someone was distributing their username/password or an authorized cookie, or using a server-side exploit to access content, then I think that would constitute a breach of ethics if not law.
Basically, my point is that once the NYT willfully transmits data to your computer, you should be able to manipulate it any way you wish, obviously barring any sort of commercial use or redistribution that violates copyright laws. Anyway, it's not that hard to protect data from certain users and make it available to others. That's a design pattern as old as multi-user computer systems/networks.
Similarly, you could argue that when someone sends a movie to your home to watch over cable, you could do anything you want with a dvr recording of it. But we know that's not an argument that actually holds any water, legally or ethically.
Merely reading a news article is certainly non-commercial, so by the analogy you proposed I believe this JavaScript workaround is entirely legal.
In this case, you're taking content that you haven't paid for, and violating the terms it's distributed under by disabling some portions so you can consume it without paying.
I'd argue that's closer to disabling macrovision on a VHS tape so you can make a backup copy of a rental tape to keep for yourself, and I'm pretty sure that's verboten.
"Yeah, I'd love one."
"Here you go; for your convenience, it's got a speaker to remind you to get an oil change at my garage."
"Huh, that's weird, but I'll just remove the battery and I won't hear the message."
Once the bits leave the nytimes.com server and travel to my computer, they don't control how I use them. I can't break laws (e.g., republish the words as my own), but if I don't want to see part of the page, that's my prerogative.
"No thank you. Please keep your calendar"
and I would wish you well on your way.
Not that I would kill anybody, but simply because it is an intellectual challenge.
Made me think of this: http://video.google.com/videoplay?docid=-4097602514885833865...
javascript:$('overlay').hide();$('gatewayCreative').hide();$(document.body).setStyle({overflow:'scroll'});
Ironically, I couldn't test it since the paywall never came up now matter how many articles I opened up.
Edit: removed broken script.
The good news is, you don’t need Prototype at all. I made this userscript this morning: https://gist.github.com/880967 Just click one of the “raw” links to install.
See the code above that begins with "javascript:" and you can use that to inject the javascript through the URL bar!
Here's how to do it in Safari http://www.youtube.com/watch?v=34D7IR7lNHc
Chrome: View > Developer > Javascript Console
Firefox: Install the firebug extension, which does autocompletion and makes developing much more fun. Not sure if this still works in Firefox 4