Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can FireMonkey be compatible with this browser #661

Open
Wei-Winter opened this issue Oct 24, 2024 · 7 comments
Open

Can FireMonkey be compatible with this browser #661

Wei-Winter opened this issue Oct 24, 2024 · 7 comments
Labels
addon: FireMonkey android 📱 Fenix: Firefox on Android

Comments

@Wei-Winter
Copy link

I have installed FireMonkey on iOS Orion browser, you may not have heard of this browser, but it does achieve compatibility with a few extension APIs. The current issue is that the UI can be displayed normally, but scripts cannot be installed directly from script websites. New JavaScript files can be saved correctly. However, the
IMG_4546
saved scripts cannot be executed.

@erosman
Copy link
Owner

erosman commented Oct 24, 2024

It appears to be similar to #656

@erosman erosman added android 📱 Fenix: Firefox on Android addon: FireMonkey labels Oct 24, 2024
@Wei-Winter
Copy link
Author

Wei-Winter commented Oct 24, 2024

It is somewhat similar 🤔 but still a bit different from the Android Firefox browser. I tried it on an Android device, and installing the script didn't have any response. Attempting to directly copy and add the script can indeed run. However, when using the iOS Orion browser to install the script, there is a prompt for "confirm installation," but there is no response after clicking. Additionally, I tried to copy and add the script using the Orion browser, but it couldn't run.
Orion is a browser on the Apple platform, should you correct the tags?

@erosman
Copy link
Owner

erosman commented Oct 24, 2024

Mobile platforms have slightly different and limited API support which results in incompatibility.
The "android" tag was meant for Firefox for Android.

FireMonkey uses a Firefox exclusive API and unless Orion is based on Firefox code, it wont work on it.

Do the userscripts function when using FireMonkey on Orion?

@Wei-Winter
Copy link
Author

I am not a developer, so I may not be certain about some questions. Orion scripts do not work with FireMonkey, but they are effective with Violentmonkey. Do they use the same API?

@erosman
Copy link
Owner

erosman commented Oct 25, 2024

Do they use the same API?

FireMonkey was the only userscript manager that used the dedicated userScripts API in MV2. Tampermonkey recently added the option to use the above on Firefox but it is not the default behaviour.

If Orion does support the userScripts API, then FireMonkey wont work on in MV2.

The new MV3 format (introduced by Google a couple of years ago) aims to harmonise the behaviour between different platforms.
The userscript & userstyle support in MV3 is still work in progress.

@Wei-Winter
Copy link
Author

Wei-Winter commented Oct 25, 2024

This is their API support documentation
https://kagi.com/orion/WebExtensions-API-Support.html
However, as far as I know, the Orion browser documentation seems to mention that it is not subject to MV3 restrictions.

@erosman
Copy link
Owner

erosman commented Oct 25, 2024

They appear to have partial support but they don't support onBeforeScript which would make it incompatible with most userscripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: FireMonkey android 📱 Fenix: Firefox on Android
Projects
None yet
Development

No branches or pull requests

2 participants