I am trying to make a form filler chrome extension, and I am getting no errors when it interact with the extension, but when I click the button on the chrome extension fields on the job application form are still not getting filled in.
manifest-
{
"name": "Jabord",
"version": "1.0",
"manifest_version": 2,
"description": "Fill forms",
"content_scripts": [{
"matches" :
["https://boards.greenhouse.io/vimeo/jobs/1837092"],
"js" : ["popup.js"]
}],
"browser_action": {
"default_popup": "popup.html",
"default_icon" : "download.png"
}
}
popup.html-
<html>
<body>
<button type="button" id="fill">Fill</button><br>
<script src="popup.js"></script>
<body>
</html>
popup.js-
document.getElementById("fill").onclick = Fill;
function Fill(){
document.getElementById("first_name").innerHTML =
"somefirstname";
}