I’ve been working on a Chrome extension for my company to integrate some API information into HelpSpot. Currently, we would like to add the equivalent of a “Search Again” button, but when clicked, the page seems to make an attempt to submit the request, and gives an alert like this:
I am a pretty novice web/extension developer, so any help is appreciated. For reference, here’s the button code and how I insert it into HelpSpot.
$("#emailheader").html('<div id="emailheader" class="box_title"> <button id="search_again">Search Again</button> | User Details for ' + email + ' <a href="https://mycompany.org/users/edit/' + internalUserIdNum + '" target="_blank">(Click to View on MyCompany.org)</a></div>');
Honestly, as far as I can tell, the button shouldn’t do anything when clicked right now, unless there’s something in HelpSpot trying to do something. Kinda at a loss here.
Edit: Fixed formatting…