Skip to content

Instantly share code, notes, and snippets.

@tbatchelli
Created November 29, 2010 01:19
Show Gist options
  • Save tbatchelli/719462 to your computer and use it in GitHub Desktop.
Save tbatchelli/719462 to your computer and use it in GitHub Desktop.
How to get the content of all the links in google's home page.
(use 'clj-coffeescript.shell)
(with-new-scope
(load-library "jquery")
;; load apache.org and collect the text of all the links in that page
(js "window.location='http://google.com'; $('a').text();"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment