How do I put in a condition to only run my script when the user has clicked my a button?

后端 未结 0 1256
挽巷
挽巷 2021-02-19 20:25

My chrome extension sends a message to my content script when the user clicks a button in the popup menu:

document.addEventListener(\'DOMContentLoaded\', function         


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