I am trying to figure out why I am not able to use jQuery in my extension, I am an absolute beginner, but in theory this should do the job:
manifest
{
"manifest_version": 2,
"name" : "iD",
"version" : "0.1",
"description" : "iD",
"browser_action" : {
// "default_icon" : "icon.png",
"default_popup" : "popup.html",
"default_title" : "iD"
},
"content_scripts": [ {
"js": [ "jquery.min.js", "app.js" ],
"matches": [ "http://*/*", "https://*/*"]
}]
}
popup.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
app.js
$("body").append("Hello World");
Yet all I see is an empty popup instead of "Hello World"