I've created an options HTML page for a Chrome extension that has a script tag that loads the required JS file. However, I can't see the console log printed. I tried adding some simple JS functionality like setting the value of a textbox but that doesn't work either.
This options page is the full-page version, not the embedded version.
Am I missing something?
options.html
<html>
<head>
<title>Test</title>
</head>
<body>
<p>Hello world</p>
<script src="options.js" type="javascript"></script>
</body>
</html>
options.js
console.log("hello world");
Manifest json file
{
"manifest_version": 3,
"name": "Test",
"description": "",
"version": "1.0.0",
"author": "Clyde D'Souza",
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"options_page": "options.html"
}