Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

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".

Saber mais

How can I create a browser extension using Python, for my college project?

  • 3 respostas
  • 1 tem este problema
  • 9 visualizações
  • Última resposta por cor-el

more options

Hi,

I have been researching how to create a web browser extension (like Ad Blocker Plus and Ghostery). I need to use Python as it is the language of choice on my college course but my online research has yielded zero results re. how to create an extension using Python.

I have seen a YouTube video from one of your colleagues (Daniel Buchner at https://www.youtube.com/watch?v=DAl0tOYDHxg) - and it was very good but nothing re. how to make an extension using Python.

I am relatively new to programming and coding - so it is possible that I may have missed something. Hope you can help.

Best regards,

Mo

Hi, I have been researching how to create a web browser extension (like Ad Blocker Plus and Ghostery). I need to use Python as it is the language of choice on my college course but my online research has yielded zero results re. how to create an extension using Python. I have seen a YouTube video from one of your colleagues (Daniel Buchner at https://www.youtube.com/watch?v=DAl0tOYDHxg) - and it was very good but nothing re. how to make an extension using Python. I am relatively new to programming and coding - so it is possible that I may have missed something. Hope you can help. Best regards, Mo

Todas as respostas (3)

more options

That is not possible. You can only create an extension via JavaScript.

more options

cor-el said

That is not possible. You can only create an extension via JavaScript.

Thanks for getting back to me so fast -

I understand that I will need JS / HTML / JSON / manifest files - can I use Python as some sort of framework or something to pull them all together?

more options

The files need to be packed in a ZIP archive. I suppose that you can do that part in Python after you have created all the files in a text editor.