Share to Vanilla

See http://vanillaforums.org/discussion/30682/share-to-my-vanilla-not-to-other-social-networks

HTML

<p>This bookmarklet lets you quickly discuss links from any web page. Make sure your bookmarks toolbar is visible, then drag this button there. Click ’+ Add to Vanilla’ any time you want to share a page.</p>
<a id="add" class="round-box bookmarklet" title="Add to Vanilla" href='javascript:(function(e){var o=e.document;setTimeout(function(){var n=e.getSelection?e.getSelection():o.getSelection?o.getSelection():o.selection.createRange().text;n=""+n!==""?"> "+n+"\nSource: "+e.location.href:e.location.href+"\n";var t="http://vanillaforums.org/post/discussion?name="+encodeURIComponent(o.title)+"&body="+encodeURIComponent(n),c=e.open(t,"_blank");c.focus()},1)})(window);'>+ Add to Vanilla</a>

CSS

.round-box.bookmarklet:focus, .round-box.bookmarklet:hover {
    color: #FFF;
    background: #07A5FF none repeat scroll 0% 0%;
    border-color: #07A5FF;
}
.round-box.bookmarklet {
    color: #0B79E5;
    border-color: #07A5FF;
    cursor: grab;
}
.round-box:focus, .round-box:hover {
    color: #FFF;
    background: #000 none repeat scroll 0% 0%;
    border-color: #000;
}
a, a:hover {
    text-decoration: none;
}
a:focus, a:hover {
    color: #07529C;
    text-decoration: underline;
}
a:active, a:hover {
    outline: 0px none;
}
.round-box {
    background: #FFF none repeat scroll 0% 0%;
    color: #000;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #999;
}