Why doesn't this Firefox extension code work with prompt or alert for contextMenus?

前端 未结 0 1964
感动是毒
感动是毒 2021-02-18 23:55

I have the following background.js script:

browser.runtime.onInstalled.addListener(function () {
  browser.contextMenus.create({
    id: \'add-todo\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题