Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

inject js on button click chrome extension

function a(){
    chrome.tabs.executeScript({code: "alert(1)"});
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #inject #js #button #click #chrome #extension
ADD COMMENT
Topic
Name
4+2 =