Re:Four JavaScript Lines to Defeat New York Times Paywall
by marcamillion on Tuesday March 22, 2011 @02:59PM
(#2355861)
How is this used ? Do I just copy this into the address bar ?
[ Parent
| on HN ]
Re:Four JavaScript Lines to Defeat New York Times Paywall
by drake2010 on Tuesday March 22, 2011 @03:14PM
(#2355943)
You can arbitrarily inject javascript on any page after launch.
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
Re:Four JavaScript Lines to Defeat New York Times Paywall
by kaichanvong on Tuesday March 22, 2011 @03:14PM
(#2355940)
Nope you need to use console. Switch on dev tool bar on Safari or CTRL + Shift + C in Chrome and then console, paste, run.
Re:Four JavaScript Lines to Defeat New York Times Paywall
by rsoto on Tuesday March 22, 2011 @03:20PM
(#2355972)
You don't need the console.
Re:Four JavaScript Lines to Defeat New York Times Paywall
by kaichanvong on Tuesday March 22, 2011 @04:20PM
(#2356275)
Sorry - you don't need the console to inject JavaScript into the page. But for the code linked at the top of the page, you will.
See the code above that begins with "javascript:" and you can use that to inject the javascript through the URL bar!