Coder Social home page Coder Social logo

winwinscoding / logseq-quicklink-bookmarklet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

This is a rework of the JavaScript code found at https://jsfiddle.net/andelf/kvm5Le6z/7/ to be more readable

License: MIT License

HTML 45.54% JavaScript 54.46%

logseq-quicklink-bookmarklet's Introduction

Bookmarklet code for Logseq's quickCapture feature

Description

This repository contains code meant to be used in a "bookmarklet" for sending web-page information (including selected text, if there is any) to Logseq logo Logseq via its quickCapture protocol URL.

Creating the Bookmarklet ๐Ÿ”–

Either

(easiest, if your browser supports it)

  1. Open the html file in this repository in your browser
  2. Drag the link "Share to Logseq" to your bookmark bar

Or

  1. Use your browser to create a new bookmark (check your browser's documentation for more information)
  2. In the name or title area, type what you want to appear in the bookmark bar
  3. In the URL area, type javascript:, then paste in after that the code in the minified file
  4. Save the new bookmark

Usage โš’

With Logseq installed on your system, and your curser blinking in a note area

  1. In the browser in which you created the bookmarklet, navigate to a desired page
  2. If you want a section of the page that you are viewing to be included in the notes, select the section
  3. Click on the bookmarklet
  4. If your browser prompts you to, allow the site to "Open Logseq"
  5. Sometime it is necessary to click again, in Logseq, the section in which you wish the newly-created note to appear - I have yet to find a reason why this is sometimes necessary, while other time not

Notes and References ๐Ÿ“

This is a rework of the Logseq officially-linked JavaScript code found at https://jsfiddle.net/andelf/kvm5Le6z/7/, as I found that code to be not easily readable. Thanks to the original author of that code.

Other References:

logseq-quicklink-bookmarklet's People

Contributors

shaunlwilson avatar winwinscoding avatar

Watchers

 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.