how to execute content script function just once every time i click button from devtool page?
<p>i have been working on a chrome extension and with the help of this post <a href="https://stackoverflow.com/questions/35620119/triggering-js-function-when-any-element-is-clicked-on-the-webpage">triggering javascript function on click and getting element details which is clicked</a>, i am getting the element details clicked on but the problem is this extension keep on running ! i want to trigger it just once every time i click a button from devtools page of my chrome extension. how to do this ?</p>