Most browsers follow Chrome Extension API now - Developers’ Notes

iRonin IT Team - Experts in software development
developers notes

Were you thinking about building multi-browser extensions? Great! It turns out that most modern browsers offer some support for the Chrome Extension API. Firefox has it almost built in, while Safari and Edge offer porting tools.

Today we learned that Firefox supports Chrome Extension API almost out of the box (extensions written for Chrome/Opera will in most cases run in Firefox with just a few changes), Safari requires more changes but there is an official port guide, and as for Internet Explorer Edge, there is an official tool to port it. Firefox and Internet Explorer Edge support content scripts and background scripts similarly to Chrome. Safari has a similar mechanism, too, but it’s called End Script (for content script) and Global Page File (for background script). Another thing is that Safari requires the use of the extension builder, which is a GUI app and requires a lot of clicking, but it can be automated thanks to this script. Seems like there’s no better time to build a multi-browser extension than now :)

Today’s Developers’ Notes were served by Łukasz, our Web Application Development Team Leader. If you enjoy these little programming tips and tricks, keep an eye out for more from this ongoing series.

Author's Bio
iRonin IT Team

Experts in software development

We are a 100% remote team of software development experts, providing web & mobile application development and DevOps services for international clients.

Similar articles
Comments

Bulletproof your development with remote team augmentation

Read how
This page is best viewed in portrait mode
Our websites and web services use cookies. We use cookies and collected data to enhance your experience, provide additional communication channels, improve marketing materials and enhance our offer. IRONIN SP. Z O.O. SP. K. is committed to protecting all the data that we collect or process in any way, especially data of personal nature. By accepting these terms you agree to our usage of cookies and processing your data, according to our Privacy Policy, and you declare that your browser settings reflect your preferences. Read more You have the right to revoke this agreement at any time, based on the terms of our Privacy Policy. You can change cookies settings in your browser. If you do not agree with us using cookies and processing your data, please change your cookies settings in your web browser and reject these terms. You can find more information about cookies, your data privacy This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies. data processing, and your rights in our Privacy Policy.