-
Notifications
You must be signed in to change notification settings - Fork 325
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
IPFS Protocol Indicator in Location Bar #398
Comments
@lidel: This is a good issue to address. Good catch on the I see in this repo that there's already a script for transforming the manifest for Jenkins CI. I've seen other "universal" WebExtension projects have separate Admittedly, this all adds quite a bit of complexity. But an optimal end-user experience is undeniably more important. I'll think about this some more; if you have any other ideas, I'm all ears. I'm happy to help here. P.S. Great work (to everyone involved here) on keeping up with the WebExtensions, pushing IPFS in the browser space, and filing these great, comprehensive issues. |
@cvan Thank you for kind words! Historically we were doing our best to have single build artefact, but these interop discrepancies add up over time, and just like you noted we will have separate build pipelines for different targets quite soon. There is an opt-in manifest-related workaround for our self-hosted Beta for Firefox (e9f77f7), but it is just a PoC. We will move it from I did not see Chrome bug or any discussion about simultaneous use of |
As noted in #398 Firefox supports additional WebExtension APIs, but Chrome throws an error on them. This change splits manifest into common and vendor-specific files and creates a dedicated bundle for each.
Check initial implementation in PR #418. |
Background
WebExtensions API
pageAction
can be used for adding an icon to the location bar:Chrome does not allow extensions to register both
browserAction
andpageAction
(that is why we have context-actions such as pin/unpin inbrowserAction
).But Firefox does not have such limitation 👌
Feature Description
Here's an idea for additional UX on non-Chrome browsers:
pageAction
for indicating loaded URL is an IPFS resourceNotes on Interop
build:chrome
target that removespage_action
frommanifest.json
isChrome
needs to be added toruntime-checks.js
and code responsible for showing/hidingpageAction
needs to be wrapped with!isChrome
References
The text was updated successfully, but these errors were encountered: