Can I use Python to develop extensions for all major browsers?

╄→гoц情女王★ 提交于 2020-01-23 05:43:06

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!