Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
xStripper
Lets you strip down any page to the bare essentials just by adding an XPath to the end of the URL. Great with LookItUp
Simply add #xpath= then the appropriate path to the end of the URL and only things that match the path will be shown.
I have adapted the xpath to accept CSS syntax for the selection of classes and IDs.
It works great with LookItUp
for example:
Google definehttp://www.google.com/search?lookitup&q=define:[words]&xpath=/
or
Free Dictionaryhttp://www.thefreedictionary.com/dict.asp?lookitup&Word=[words]#xp
or (thanks Bjørn)
Google Imageshttp://images.google.com/images?svnum=10&q=[words]&xpath=//a[i
If you like this script fell free to donate.
You could comment on this script if you were logged in.

login to vote
Awesome script. Can you help me? I've used Xpath Checker on a site to get this value:
id('ajaxResults')/div/table
How would I go about adding this to the URL with xpath?
login to vote
Awesome script. Can you help me? I've used Xpath Checker on a site to get this value:
id('ajaxResults')/div/table
How would I go about adding this to the URL with xpath?
login to vote
Amazing script--I totally agree with Zur. Very clever.
You may not get a thousand downloads, but you're likely to enable a thousand new scripts. :)
login to vote
Bjørn, go for it, I like the idea of adding CSS, and javascript as well. Keep up the good work dude!
login to vote
Its a great idea to send stripping instructions in url. And its clever to use xpath to select nodes, because the syntax is extremely compact. I would like to implement it in LookItUp. May I reuse your code?
I'm extending the idea, so its also possible to send a xpath that selects nodes that should be removed. And its also possible to send css to be applied, and even javascript to be evaluated. Its quite useful to be able to mix several techniques.
Btw, here is an example of google images:
http://images.google.com/images?svnum=10&hl=en&...]
login to vote
That's an extremely clever script.