Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 3 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 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

所有回覆 (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.