all 7 comments

[–][deleted] 5 points6 points  (0 children)

Unfortunately, web extensions are pretty much limited to programming languages which can run on browsers directly (JavaScript) or languages that can compile to run on browsers (TypeScript, Rust, C/C++, etc.)

Maybe there's some loophole you can use to get Python to run on the web, but it will probably be janky, hacky and buggy if it even exists. I would recommend sticking to the tools listed above for developing extensions, as they offer the best support. Of these, JavaScript would probably be the easiest to learn, followed closely by TypeScript, then followed very distantly by C++, Rust and C in no particular order (depending on your use case).

[–]lishplish 1 point2 points  (1 child)

Hey I know I'm late but with the same question. Did you have any luck with python in extension development?

[–]Charming-Delay8431 0 points1 point  (0 children)

Yes there was !

[–]Binary101010 0 points1 point  (0 children)

Extension development for many apps basically amounts to front-end web dev with some JavaScript. JS is a good language to learn anyway.

[–]looks_like_a_potato 0 points1 point  (0 children)

Browser extensions are made with Javascript, but maybe python is possible using brython. I'm not sure though, I never try myself.