
google-plus-1-bookmarklet
Choose Yours
Flattr ThisAlso: Google Plus +1 any URL
Bookmarklets
Small default (with count)
javascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/mZRRLN';void(0);
without countjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/q972cf';void(0);
default with close buttonjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/p2YD0V';void(0);
Medium
default (with count)javascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/pw7MzI';void(0);
without countjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/nFa2Xt';void(0);
default with close buttonjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/pvXjgf';void(0);
Standard
default (with count)javascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/remDCI';void(0);
without countjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/oN4Hhh';void(0);
default with close buttonjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/omOVHV';void(0);
Tall
default (with count)javascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/oBfJKL';void(0);
without countjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/KwzF1h';void(0);
default with close buttonjavascript:s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='https://bit.ly/n7MkH0';void(0);
Variations as per the +1 button http://code.google.com/apis/+1button/#button-sizes'>API.
Executing code in your address bar
Lately, the simplest method I have discovered is: highlight the line of code and drag it onto the tab (where the page's title is displayed)
Note: some browsers remove the javascript:
prefix, leaving the remaining text in the address bar, without executing the code. You will need to type javascript:
back in front, after you drag/copy/paste, then hit enter and it should execute successfully.
Either: highlight the line of code and drag it into your address bar http://google-plus-1-bookmarklet.googlecode.com/svn/trunk/resources/try_it_drag.png' />
Or: highlight the code, copy it, paste it into the address bar, press enter http://google-plus-1-bookmarklet.googlecode.com/svn/trunk/resources/try_it_copy_paste.png' />
Creating your bookmarklet
The easiest way is to follow either of the first two methods under Choosing Your Bookmarklet, then simply drag a +1 to your bookmarks location.
Alternatively, highlight the line starting 'javascript:
' for your chosen bookmarklet, in the table above. Then drag the highlighted text to your bookmarks location. You should then edit the bookmarklet to name it:
http://google-plus-1-bookmarklet.googlecode.com/svn/trunk/resources/+1.png' />
Finally, you might prefer to, copy and paste the 'javascript:
' line into the URL field when creating a new bookmark (rather than dragging it).
Project Information
The project was created on Jul 15, 2011.
- License: GNU GPL v3
- 30 stars
- svn-based source control
Labels:
JavaScript
Network
Bookmarklet
Plus1
PlusOne
1
One
Bookmark
Social
SocialNetwork
Networking
SocialBookmark