JavaScript AddToReadWise Bookmarklet

Sources:

title: ## Contents 
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Overview

Code Snippet Metadata:

Code Snippet

/**
* Bookmarklet to add the current page to ReadWise
*/
javascript: (
  function () {
    /**
    * Open the ReadWise page with the current page's title and URL
    * @function open
    * @param {string} url
    * @returns {string} Encoded URL for ReadWise
    */
    open(
      "https://readwise.io/save?title=" +
        encodeURIComponent(document.title) +
        "&url=" +
        encodeURIComponent(location.href)
    );
  }
)();

Details

About

This note is about …

See Also


Appendix

Note created on 2024-05-17 and last modified on 2024-05-17.

See Also

LIST FROM [[JS - AddToReadWise Bookmarklet]] AND -"CHANGELOG" AND -"04-RESOURCES/Code/JavaScript/JS - AddToReadWise Bookmarklet"

(c) No Clocks, LLC | 2024