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

103
Vistas
Is there a way to get all created context menus for a chrome extension?

I'm working on a personal chrome extension to help me out with a part-time job in which the background script calls an API that pulls email template data from my personal Notion account. These various email templates are given their own context menu which, when clicked, enters the template into the email reply.

On install, a single context menu is created called "Load Emails" which calls the API to retrieve the data and create the rest of the context menus, I was wondering if there is a way to retrieve all the already created context menu data inside the onClicked callback so that I can check if a context menu with that id is already created or not before creating a new one (if I add a new email template to my Notion database).

The IDs that I'm using for the created context menus are the page id's from Notion so they are unique.

Looking at the documentation for context menus, the only options are create, remove, removeAll and update.

If there is a better way that I can achieve what I'm trying to do that works too.

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