Better Save to Pocket Button (Firefox)
by DCengineer in Circuits > Websites
1540 Views, 4 Favorites, 0 Comments
Better Save to Pocket Button (Firefox)
This is a short Instructable aimed at Pocket users who have found the Save to Pocket Firefox extension too slow and don't want to show the whole bookmarks bar in order to display a single link. All you need is the Custom Buttons Firefox extension.
Once you have installed Custom Buttons, the easiest way to create a new button is to right click on the firefox toolbar and choose "Add new button..."
In the "Code" box paste the contents of save_to_pocket.js. The code is just the Pocket bookmarklet in a string as the argument of JavaScript's loadURI function.
In the image box, paste this base64 code or come up with your own image. Note that the height must be 16px. If it is bigger, it will expand the height of your toolbar to fit the size of the image.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wUPDgEl575TcAAAAOJJREFUKM+d0zFKBEEQBdA3E4h6Ag3MFq8hRgYeYBMFzyCYqLliICieQBcNjMR8EdQLCAYiXkDMRIYN3DXpkaYpwZ0PlVT9X/T/3V1hDeeYwcT/McI+PCZhl3qpUemOcT3lsUtM6qJxgh5uA/IdlnGMcdssLTzjDRu4zPoXWMdrmrcLKhhmoTRJ3C4/ww3mU28Fnxn/CQZFsg36gYXV4BaGsBkMGmxl4ojzjUNYwEdAGOEUR/j6Y0GvDWKnwyM6yP3N4moK8XX0KOawW6QcZbOX/k2IGkvYxj3eUz0km4uJ84sfaIhx1D4RRCAAAAAASUVORK5CYII=
When you click the button, it will work just like the Pocket bookmarklet, but it will have an image and be in your toolbar. If you want to change anything on it, just right click the button and choose "Edit button..."