Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
JavaScript is not working in Chrome extension options page

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"    
}
  
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!