You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that the extension runs in the main browsers: Chrome, FF, Opera and Vivaldi
Best solution for different methods (e.g. deprecated) would be capsulate them and execute depending on what browser it is running.
For the moment, what I saw is if FF is not supporting a chrome API is habitually because it's deprecated on the chrome side and FF only support the new version. In this case it's better to change the deprecated API call for the new one.
Their is some API that are not supported by Edge or Firefox. So yeah we have to use a subset of the API. If we have to use different API we should test if the function exist instead of the browser I think:
Make sure that the extension runs in the main browsers: Chrome, FF, Opera and Vivaldi
Best solution for different methods (e.g. deprecated) would be capsulate them and execute depending on what browser it is running.
I think of something like this:
This might also be helpful:
https://www.smashingmagazine.com/2017/04/browser-extension-edge-chrome-firefox-opera-brave-vivaldi/
The text was updated successfully, but these errors were encountered: