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

245
Vistas
Can I edit a greasemonkey script using js ,instead of the editor?

For example, I want to create a GM script, and the function I want to achieve is: after clicking the button I add on a web page such as "http://example.com", my script will automatically generate a statement //@exclude http://example.com and adds this line to its metadata instead of manually adding it.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

GM scripts run in page/content context (GM|TM|VM), or userScripts context (FireMonkey).

They have no access to the extensions which runs in the browser context, nor should they have as it would be a major security risk.

Userscript manager extension developers can implement such features. Currently ...

  • Greasemonkey New user script creates a standard template
  • FireMonkey New user script creates a standard template
  • Tampermonkey Create New Script creates a template with the @match for the current active tab
  • Violentmonkey Create New Script creates a template with the @match for the current active tab
about 4 years ago · Juan Pablo Isaza Denunciar
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