📜 ⬆️ ⬇️

Working with GMail bookmarks

This article is about how you can make a bookmark manager using Google Mail and Google Docs.
At the same time, you will never lose them (even if you delete from GMail, the copy will remain in Docs), and adding a new URL will happen in two clicks!

image


')

Principle of operation


Bookmarks are stored as letters labeled Bookmarks. Each letter contains the key phrase "Google Docs Bookmark."
image

Adding is done using Google Docs forms.

Form creation


Go to Google Docs. Create a new form.
The following items will be required:
  1. URL box
  2. The field for entering the title of the bookmark.
  3. Paragraph text field for annotation

image

You can also choose a design style and confirmation text.
After saving the form, select in the menu: “View answers - Table” and get into the spreadsheet editor.

To bookmark sent by e-mail you need to connect the script.
Go to the main menu "Tools - Scripts - Script Editor" ( Pastebin ).

image


Set the trigger ("Triggers - All your triggers")

image

Save and close the script editor.

Labels and filters


Open the mail settings and go to the tab "Labels". Add a new label with the name "Bookmarks" or "Bookmarks."
Now we need to ensure that all new bookmarks have the desired label and are not displayed in the "Inbox".
To do this, open the "Filters" tab.

image

image

Browser integration


image

The last thing left for us is to add a so-called Bookmarklet.
It looks like this:
 javascript: window.open ('http: // long / address / your / form & entry_0 =' + escape (window.location) + '& entry_1 =' + escape (document.title)); void (0);

Now, when you click "Add to bookmarks", you will open a form with automatically entered address and page title.

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


All Articles