Skip to content

Instantly share code, notes, and snippets.

Created November 2, 2015 17:44
Show Gist options
  • Select an option

  • Save anonymous/d5603ea29ad1753965f1 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/d5603ea29ad1753965f1 to your computer and use it in GitHub Desktop.
this is going to break ft paywall via google search
window.location.href="https://www.google.com?q=" + encodeURIComponent(window.title);
@rmetzler
Copy link

rmetzler commented Nov 2, 2015

1

create a new bookmark and put this as the URL (including javascript and all those percentages and brackets)

javascript:(function()%7Bwindow.location.href%3D%22https%3A%2F%2Fwww.google.com%3Fq%3D%22%20%2B%20encodeURIComponent(window.title)%7D)()
2

go to http://www.ft.com/cms/s/0/2cfa6f18-1575-11e3-950a-00144feabdc0.html and click your new bookmarklet

3

click on the first google result

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