Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

143
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda