Created
January 9, 2013 19:44
-
-
Save nickl-/4496194 to your computer and use it in GitHub Desktop.
Headless webkit on a stick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo '$("a").each(function () { | |
alert($(this).text()); | |
});'|make phantomjs-inject url=google.co.za | |
Respect/Foundation: 0.1.12 | |
http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js | |
+You | |
Search | |
Images | |
Maps | |
Play | |
News | |
Gmail | |
Drive | |
More | |
Calendar | |
Translate | |
Books | |
Blogger | |
Reader | |
Even more » | |
Sign in | |
Search settings | |
Web History | |
Install Google Chrome | |
Advanced search | |
Language tools | |
Afrikaans | |
Sesotho | |
IsiZulu | |
IsiXhosa | |
Setswana | |
Northern Sotho | |
Advertising Programs | |
Business Solutions | |
About Google | |
Google.com | |
Privacy & Terms | |
$ make phantomjs-inject url=google.co.za code:='$$("a").each(function () { | |
alert($$(this).text()); | |
});' | |
Respect/Foundation: 0.1.12 | |
http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js | |
+You | |
Search | |
Images | |
Maps | |
Play | |
News | |
Gmail | |
Drive | |
More | |
Calendar | |
Translate | |
Books | |
Blogger | |
Reader | |
Even more » | |
Sign in | |
Search settings | |
Web History | |
Install Google Chrome | |
Advanced search | |
Language tools | |
Afrikaans | |
Sesotho | |
IsiZulu | |
IsiXhosa | |
Setswana | |
Northern Sotho | |
Advertising Programs | |
Business Solutions | |
About Google | |
Google.com | |
Privacy & Terms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment