Code Monkey home page Code Monkey logo

Comments (4)

rxliuli avatar rxliuli commented on June 12, 2024 1

I just added the Chinese version of the FAQ document. Would you like to help translate it into English?

Chinese documents: https://joplin-utils.rxliuli.com/zh/joplin-batch-web/#%E4%BC%BC%E4%B9%8E%E6%B2%A1%E6%9C%89%E6%AD%A3%E7%A1%AE%E8%AF%B7%E6%B1%82-joplin-clipper-api-token-undefined

Refer to how to help modify the document


Just saw the reply, it seems that this error cannot be reproduced on my side. . .

image

from joplin-utils.

rxliuli avatar rxliuli commented on June 12, 2024

Have you set the token and port?
https://joplin-utils.rxliuli.com/web/joplin-batch-web/#/en-US/settings

from joplin-utils.

huyz avatar huyz commented on June 12, 2024

For anyone who needs a workaround in the meantime, this is the code I wrote as a Chrome Dev Tools source snippet:

// Requires jQuery to be injected first as $

let port = window.prompt("Enter port (default 41184):");
if (!port) {
  port = 41184;
}

const token = window.prompt("Enter the Joplin Web Clipper token:");

$('img[src^="http://localhost:undefined"]').each((i, el) => {
  const $el = $(el);
  let src = $el.attr("src");
  src = src.replace(/undefined/, port);
  src = src.replace(/undefined/, token);
  $el.attr("src", src);
});

from joplin-utils.

huyz avatar huyz commented on June 12, 2024

Have you set the token and port?
https://joplin-utils.rxliuli.com/web/joplin-batch-web/#/en-US/settings

Yes

Just saw the reply, it seems that this error cannot be reproduced on my side. . .

Hmm, strange. Ok, maybe just a fluke then. I'll let you know if I run into this again.

from joplin-utils.

Related Issues (20)

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.