📜 ⬆️ ⬇️

Add a bookmark to Google Bookmarks in one click

In the social bookmarking service del.ico.us and in the domestic BobrDobr there is a very convenient function: by dragging a special button onto the panel of your favorite browser, clicking on it, you can easily add a bookmark to the page you are viewing, and, of course, part of the form for adding a bookmark filled automatically (address, title).

I personally do not need a sociality from bookmarks, as well as advanced import / export opportunities and other pribludy. Because it pleases a simple service Google Bookmarks (it is possible to add your personal bookmarks and assign tags to them for normal navigation). But just the very mentioned and convenient function of adding a bookmark with one click, the service for Russian-speaking users does not provide (the creators in Russian recommend setting Google Toolbar for such purposes).

The problem, as it turned out, is solved by passing the necessary parameters using the GET method.
')
To get a button for adding a Google Bookmark in one click, you must first create an empty button, and instead of a link, assign to it, for example, the following code:

javascript: location.href = 'http: //www.google.com/bookmarks/mark? op = add & bkmk =' + encodeURIComponent (location.href);

In the English interface (as suggested in the comments), a more advanced feature on js is proposed, which adds a bookmark in a new window. I further expanded this Googl’s feature with auto adding selected text to Notes (I don’t pretend to cross-browser).

Ready buttons are here .

After dragging the buttons onto the panel, it remains to correct the name for the understandable (FF takes the link text for the name, and Opera, alas, the link itself).

Everything described in the latest versions of Firefox and Opera works, and also, probably, in IE6, if there is a panel where the button can be dragged.

Source: https://habr.com/ru/post/12406/


All Articles