Skip to content

chrome.runtime.onMessage.addListener seems not listening on the message we send. #3

@nggih

Description

@nggih

Hi, I am stuck at Injecting into the Calmly webpage. I have followed the https://buildspace.so/p/build-ai-writing-assistant-gpt3/lessons/inject-into-a-webpage and final repo, but the error below still occur and the result from API can't be injected on the Calmly. Any help would be appreciated. Thank you.

Chrome version: Version 108.0.5359.99 (Official Build) (64-bit)

image
Unchecked runtime.lastError: Cannot create item with duplicate id context-run Error handling response: TypeError: Cannot read properties of undefined (reading 'status') at chrome-extension://fmhgmgocffondhgalcpcllfaggcllhko/scripts/contextMenuServiceWorker.js:21:22 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. Error handling response: TypeError: Cannot read properties of undefined (reading 'id') at chrome-extension://fmhgmgocffondhgalcpcllfaggcllhko/scripts/contextMenuServiceWorker.js:15:31

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions