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

    chorme.runtime is undefined in Dom hook (BEX)

    Framework
    1
    3
    148
    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.
    • M
      minhhai last edited by

      I wanna call chrome.runtime.onMessage in dom-hook.js but it is undefined.
      I use dom-hook.js because i wanna use Import package in ES6
      Any way to do this?

      screenshot_1587210394.png

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • M
        minhhai last edited by

        Or how to use import in content-script.js, content-hook.js

        1 Reply Last reply Reply Quote 0
        • M
          minhhai last edited by

          [Solved]
          I can use import in content-hook.js.

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