skip to Main Content

onclick not working chrome expention JS HTML dom

trying to inject html to website and activeat button using the onclick function const locetion = document.querySelector("#app > div:nth-child(1)"); // set the locetion on the website for the injection var div = document.createElement('div'); div.innerHTML = '<input type="search" id="mySearch" placeholder="Search for…

VIEW QUESTION
Back To Top
Search