Giter Club home page Giter Club logo

bookmarks-browser-extension's Introduction

Bookmarks Browser Extension

Browser extension to easily save links from the web to www.bookmarks.dev, the Bookmarks and Code Snippets Manager for Developers & Co.

Install

This browser extension is available for:

Chrome Firefox
Chrome Firefox

If you can't use Browser Extensions, or you have a tight security blocking pop-up windows from extensions (Firefox blocks new windows from pages by default) you can use our bookmarklets which offer the same functionality

How to use

Right click OR click the extension icon to save the active tab's link to Bookmarks.dev.

Optionally you can select text on the webpage beforehand, to be saved in the "description" field, otherwise the value from meta="description" is used if present on the website

Chrome extension screenshot

For youtube videos and stackoverflow questions the tags and published on are also auto-completed

Testing locally

Check out the git repository - git clone https://github.com/BookmarksDev/bookmarks-browser-extension.git

Chrome/Brave

Go to chrome://extensions/, click Load unpacked and select the bookmarks.dev-chrome-extension where you have checked it out:

Install locally

Click "Reload" on the extension when you do modifications

Firefox

Use web-ext

The easiest way is to use web-ext You can install it globally for example via

npm install --global web-ext

and then run the following command in the root directory of the project

web-ext run

This installs "Save link to Bookmarks.dev" as a temporary add-on, and it watches for changes in the source code and redeploys automatically.

Manual deployment

Go to about:debugging#/runtime/this-firefox, click Load Temporary Add-on... and select the manifest.json file from the save-code-to-bookmarks.dev-browser-extension folder where you have checked it out:

Install locally on Firefox

Test the extension against the localhost version of Bookmarks.dev

Change the following line in launch-bookmarksdev-dialog:

open('https://www.bookmarks.dev/personal/new?url=' + encodeURIComponent(l) + '&desc=' + encodeURIComponent(d) + '&title=' + encodeURIComponent(t) + '&popup=true', 'Bookmarks.dev', features);

to

open('http://localhost:4200/personal/new?url=' + encodeURIComponent(l) + '&desc=' + encodeURIComponent(d) + '&title=' + encodeURIComponent(t) + '&popup=true', 'Bookmarks.dev', features);

and Reload the extension

Publish browser extension to official stores

First of all zip the file either with web-ext

web-ext build -i 'resources' 'assets' 'README.md' 'CHANGELOG.md'

## with overwrite 
web-ext build --overwrite-dest -i 'resources' 'assets' 'README.md' 'CHANGELOG.md' 

or with the standard zip command:

zip -r bookmarks.browser.extension.zip * -x *.idea* *.git* '*resources/*' '*assets/*' "*README.md*" "*CHANGELOG.md*" '*web-ext-artifacts/*'

Publish to Google Chrome Webstore

Go to Chrome Webstore Dashboard where you upload the .zip file. Wait for a couple of business days for an approval.

Publish to Firefox Webstore

Go to Add-ons page and submit the new addon

bookmarks-browser-extension's People

Contributors

adixchen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.