Categories
Engadget

Apple’s new tools can help developers port Chrome extensions to Safari

Do you have 1,000s of high quality pictures on your phone?
Click here and learn how to make money from them today!


When Apple detailed macOS Big Sur earlier this week, it spent a lot of time talking about how it redesigned the desktop operating system to make it look more modern. The company also touched on upcoming enhancements to Safari, such as faster webpage loading times and enhanced privacy monitoring. But the one feature that will likely mean the most for Safari users is Apple’s take on the WebExtensions API. The move promises to significantly increase the number and variety of plug-ins you’ll be able to install if you use Safari as your primary web browser. And we now have a better idea of how they’ll work thanks to a WWDC session spotted by TechCrunch.

From a developer standpoint, the most significant difference between Safari’s new web extensions and the content blocking, share and app extensions Apple currently supports is that they can be programmed using JavaScript, HTML and CSS. Developers don’t need to go out of their way to learn Objective-C or Swift, which are of limited use outside of Apple’s ecosystem. What’s more, developers can take their existing Chrome, Firefox or Edge extensions and port them to Safari using a converter Apple has created to speed up the process. As with other Safari plug-ins, users will be able to find and download the new web-based ones through the App Store.



Source link