问题
Can I use Python to develop extensions for all major browsers?
If not then what languages will I need to know to develop extensions for:
- Chrome
- Firefox
- Safari
- IE
- Opera
回答1:
Most extensions are just bundled HTML, CSS, JS and image files, plus some metadata. You'll need to be good at JS, and most importantly, you'll also need to learn about each browser's API.
Here are documentation and "getting started" pages for extensions development on different browsers:
- Chrome
- Firefox (see also XUL)
- Safari
- Opera
- Internet Explorer
IE also supports COM's and languages targeting the CLR (eg: C#).
回答2:
Yes you can but you will need to compile your code to js using rapydscript for further reading visit https://pythonspot.com/create-a-chrome-plugin-with-python/
来源:https://stackoverflow.com/questions/3836262/can-i-use-python-to-develop-extensions-for-all-major-browsers