Web Clipper - autocompletion broke

Please provide debugging information and screenshots of the web clipper:

https://joplinapp.org/clipper/#debugging-the-extension

Hello,

thank you for providing the link! The instructions were really useful :heart: .

popup

This is my log dump from after inspecting the popup:

Popup: Init bridge and restore state...
main.chunk.js:1 Popup: Init bridge
main.chunk.js:1 Popup: Env: prod
main.chunk.js:1 Popup: Creating React app...
main.chunk.js:1 findClipperServerPort: Trying 41184
main.chunk.js:1 findClipperServerPort: Got response: JoplinClipperServer
main.chunk.js:1 Popup: Restoring saved state: 
Object
main.chunk.js:1 Popup: GET auth/check
main.chunk.js:1 Sending message  
Object
main.chunk.js:1 checkAuth: we already have a valid token - exiting
main.chunk.js:1 Popup: GET folders
main.chunk.js:1 Popup: Got command: 
Object
index.html:1 Unchecked runtime.lastError: The message port closed before a response was received.
main.chunk.js:1 Popup: GET tags
main.chunk.js:1 Popup: Saving state 
Object
2
main.chunk.js:1 Popup: GET tags
main.chunk.js:1 Popup: Saving state 
Object
DevTools failed to load source map: Could not load content for chrome-extension://alofnhikmmkdbbbgpnglcpdollgjjfek/popup/build/static/js/runtime-main.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for chrome-extension://alofnhikmmkdbbbgpnglcpdollgjjfek/popup/build/static/js/2.chunk.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for chrome-extension://alofnhikmmkdbbbgpnglcpdollgjjfek/popup/build/static/js/main.chunk.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load source map: Could not load content for chrome-extension://alofnhikmmkdbbbgpnglcpdollgjjfek/popup/build/static/css/main.chunk.css.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

It seems that Clipper is connecting to Joplin's server, but gets nothing:
Unchecked runtime.lastError.

I start to type hear, a substring of a tag that I have. At this stage the autocomplete was always suggesting something. I see this in the logs:

Popup: Saving state {selectedFolderId: '063f384d48d949298ec781eaa330ebfc'}

image

script

This is what I have when debugging the content script:

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/clipper/#debugging-the-extension:1 Not allowed to load local resource: chrome://extensions/
/clipper/#debugging-the-extension:1 Not allowed to load local resource: chrome://extensions/
/clipper/#debugging-the-extension:1 Not allowed to load local resource: chrome://extensions/
index.js:6 jopext: Loading content script
index.js:551 jopext: Got command: 
Object
index.js:333 Got command: isProbablyReaderable
index.js:551 jopext: Got command: 
Object
index.js:333 Got command: isProbablyReaderable
DevTools failed to load source map: Could not load content for https://joplinapp.org/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

After clicking on the popup I also get:

jopext: Got command: 
{name: 'isProbablyReaderable'}
VM43 index.js:333 Got command: isProbablyReaderable

I added some info to GH: Chrome's latest update broke Web clipper autocomplete · Issue #5426 · laurent22/joplin · GitHub