No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    BEX communication issue

    Framework
    2
    3
    138
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      codebreaker last edited by

      I am having a hard time understanding how to accomplish this. I am sure that it is because of my lack of experience in developing browser extensions.

      My goal is as follows:

      I have a web page with list of links on it. I want to create an extension in which I would be able to upload a CSV file in the popup window that would then read all of the links on the page and execute a POST request to a predefined URL with the content from the CSV file.

      What I have created so far is button in the popup that emits an event when clicked that the background script reads. The background script then emits an event that the content script reads and responds to. Here is where I am blocked, because the response from the content script never reaches background script.

      What am I doing wrong here?

      During my testing it seams that the content script cannot respond to event emitted in the background script.

      1 Reply Last reply Reply Quote 0
      • Allan-EN-GB
        Allan-EN-GB Admin last edited by

        Can you show your background-hooks and content-hooks code please (slimmed down to show the issue).

        The content hooks can respond / send events to the background so that’s not the problem here.

        1 Reply Last reply Reply Quote 0
        • C
          codebreaker last edited by

          After trying to create a minimum version to reproduce the issue, it seems to work. I guess it was a PEBCAK type problem!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post