Everyone’s seen social bookmarks, and yeah, they’re great. But even with them, your visitor has to specifically seek out promoting you. On the other hand, when you highlight and copy text from politico.com, it will automatically embed the URL.
Holy crap that’s cool!
Naturally, I wanted to do it too. But soon after beginning, I realized that there was still so much more to do. What is it that people wanted to do with the copied text? If the selection is long, perhaps it’s email or twitter. If it’s short (like a name or place), I’d bet it’s a search. My plugin takes Politico’s brilliant idea and gives it what Barry Bonds got.
To see the script in action, try highlighting any text on this page. For email or copy/paste credit, select 40+ characters of text. For specific search-worthy examples, try:
- Wiki: Machiavelli
- Google: World Trade Center, NY
- Facts (Wolfram): Hamburgers
- Amazon: 1984 by George Orwell
- Ebay: XBOX 360
For more information about this plugin, visit the official Search and Share page. If you like it, I’d really appreciate you bumping me up on the social network of your choice. Thanks for the love!
PS: In case you missed the links the first time around, you can download the standalone jQuery version here, and you can download the wordpress version here.
Popular Posts
- Separating jQuery Functions into External Files (without selectors!)
- Search and Share
- How to Sort an Associative Array (object) in Javascript
- How to Create a jQuery Bookmarklet
Alternatively, you may want to return to the Home Page to view the most recent blog posts in order. If you have any questions, I make a point of reading and responding to all comments. Thanks for joining!










