Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which browser is easier to develop plug-ins for? Chrome or Firefox? [closed]

Tags:

I'd like to develop a small plug-in for web browsers, namely Chrome and FireFox. Which one is easier† to develop for a first projet? I am very unfamiliar with this space as I spend most of my days coding server-side Java.

†: Easier in my context means:

  • shallow learning curve
  • least amount of additional tooling required
  • a Java like syntax, i.e.: JavaScript
  • solid API documentation

If it matters, here is the goal of my plug-in:

  • find an image tag in a page with a specific tag. Example: <img src="bobisyouruncle.jpg" findme="found" />
  • send the image to my remote RESTful web service
  • overlay an image onto the above image (or replace it)
  • allow simple configuration and storage for authentication against the web service

Answers from folks with direct experience coding for both browsers are greatly appreciated.

like image 469
Stu Thompson Avatar asked Jun 22 '11 10:06

Stu Thompson


People also ask

Is Chrome or Firefox better for developers?

Ultimately, the choice of browser for a web developer could easily come down to a matter of personal preference, since both Chrome and Firefox are very capable. At this point in time, Firefox Developer's Edition would seem to have a slight edge over Chromium all things considered.

Which browser has the best developer tools?

Firefox Developer The best conventional browser for web development in 2021 is the developer edition of Mozilla's Firefox. The standard edition of Firefox is an excellent browser, packed with features, and privacy-focused. The developer edition adds to this with a suite of tools aimed at developers.

Does Chrome have more extensions than Firefox?

Key Takeaways: Chrome and Firefox are close to being even in most of their capabilities. Chrome is faster and has a larger library of extensions, but Firefox is more private and secure.

What are the advantages of Firefox over Chrome?

Although not as extensive as Chrome's add-on library, Firefox, as open-source software with a huge number of active contributors, also features an incredible number of useful extensions. Firefox also has a sync feature to see your open and recent tabs, browsing history, and bookmarks across all your devices.


1 Answers

Chrome. It has a fast and easy learning curve. Start here: https://developer.chrome.com/extensions/getstarted.html . The built in development tools allows you to debug your own code in a matter of a click. And ctrl+r actually refreshes your extension code.

Firefox extensions are much more complex and harder to develop. You will need to set up a development environment with many custom settings and "developer's extensions" and it will be very hard to actually debug your code.

Update: an interesting real-world blog post comparing Chrome, FireFox and Opera extension building: http://blog.nparashuram.com/2011/10/writing-browser-extensions-comparing.html

like image 102
Udi Avatar answered Dec 15 '22 05:12

Udi