I am working on a chrome extension. My content script needs to detect the changes in innertext of the badge of a button and call the callback function. However,