Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Access tab from webextension

  • Nenhuma resposta
  • 3 têm este problema
  • 1 visualização
more options

We want to migrate our add-on from xul based add-on to webextension and having some trouble. We need to interact with window document object of tabs from our extension, browser.tabs.executeScript() is not suitable, because sometimes we need to return value. E.g. we need to check if element is present in document from our extension. Is there a way to do that? if yes, how?

We want to migrate our add-on from xul based add-on to webextension and having some trouble. We need to interact with window document object of tabs from our extension, browser.tabs.executeScript() is not suitable, because sometimes we need to return value. E.g. we need to check if element is present in document from our extension. Is there a way to do that? if yes, how?