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

Support for Extensions? #256

Open
4 tasks done
dhananjaipai opened this issue Sep 2, 2023 · 164 comments
Open
4 tasks done

Support for Extensions? #256

dhananjaipai opened this issue Sep 2, 2023 · 164 comments
Labels
It would be nice to have it It would be nice to have it, in my opinion user report is a user report

Comments

@dhananjaipai
Copy link

Preliminary checklist

  • I have read the README
  • I have read the FAQs.
  • I have searched existing issues for my feature request. This is a new issue (NOT a duplicate) and is not related to another issue.
  • This is a feature request for the Cromite browser; not the website nor F-Droid nor anything else.

Is your feature request related to privacy?

Yes

Is there a patch available for this feature somewhere?

Not sure

Describe the solution you would like

I see that Kiwi and Yandex browsers have support for adding custom chrome extensions.
I am a noob when it comes to Android apps, mods and patches, but just wanted to know if it would be possible to have support for chrome extensions ?

Describe alternatives you have considered

Using multiple browsers

@Kirshi912
Copy link

You need to request this feature to google or chromium team instead.

@uazo
Copy link
Owner

uazo commented Sep 2, 2023

@dhananjaipai think, I'm in favour of removing extension support even on desktops!
but I'm still thinking about it a bit, including your request.

@uazo uazo added the need triage I will look into it, I promise! label Sep 2, 2023
@dhananjaipai
Copy link
Author

@dhananjaipai think, I'm in favour of removing extension support even on desktops! but I'm still thinking about it a bit, including your request.

Thank you. If extensions are not possible can you kindly evaluate a bookmarkbar support or something similar to invoke custom bookmarklets to inject some features? Currently it is a pain to type javascript:xyz since pasting on the address bar will clear the javascript bit for security I am assuming

@uazo
Copy link
Owner

uazo commented Sep 2, 2023

bookmarklets

what are they?

@Universalizer
Copy link

  1. Not all Browser's extensions respect privacy or security,

  2. Probably (Sometimes) they mess-up Browser's fingerprint uniquely.

  3. If in-case an extension has problems, they need to be bug report to extensions developers, but mistakely complain to Browser's Developer & that gets irritated & frustrated.

Do you want to de-motivate browser developers?

@dhananjaipai
Copy link
Author

bookmarklets

what are they?

https://en.m.wikipedia.org/wiki/Bookmarklet

Basically custom javascript that you can run on the page saved as bookmarks. You can basically create a bookmark with the content as "javascript:document.querySelector('video').playbackRate=4" for example and when you are on a page playing media and with slow speed you can click the bookmark and it will run the script to play it faster

@dhananjaipai
Copy link
Author

  1. Not all Browser's extensions respect privacy or security,

    1. Probably (Sometimes) they mess-up Browser's fingerprint uniquely.

    2. If in-case an extension has problems, they need to be bug report to extensions developers, but mistakely complain to Browser's Developer & that gets irritated & frustrated.

Do you want to de-motivate browser developers?

I mean, make it as a superuser feature perhaps that can be enabled with a custom flag for example.
I think it is unwise to discount a feature just because some people may not understand how to use it. 😅

@uazo
Copy link
Owner

uazo commented Sep 2, 2023

@Universalizer the possible benefit is to let others fix privacy issues for the sake of the browser. Because it is unlikely that I can do everything. But it is a personal thought, not a choice for now.

Not all Browser's extensions respect privacy or security,
Probably (Sometimes) they mess-up Browser's fingerprint uniquely.

same here, I give no warranty on any of my modifications.

If in-case an extension has problems, they need to be bug report to extensions developers,

this could be true

@Rusenche
Copy link

Rusenche commented Sep 2, 2023

@uazo > @dhananjaipai think, I'm in favour of removing extension support even on desktops!

Sounds scandalous!

If this becomes a fact, google will be happy to have followers in the destruction of the user experience.

My personal thought - if the desktop option of not being able to install extensions goes away, Cromite will lose almost all users.

@Universalizer
Copy link

@Universalizer the possible benefit is to let others fix privacy issues for the sake of the browser. Because it is unlikely that I can do everything. But it is a personal thought, not a choice for now.

Real true fact, one single person has capacity limitations of doing all things alone, it requires team work of more than three or more software developers.


Draft FAQ (Frequently Asked Questions) Important notice to the Cromite end user's, especially for Browser's extensions

Browser's extensions though supported in Desktop environment but no guarantee or warranty on third-party's extension, that completely relies at end-users due-diligence and responsibility.

Cromite developer takes no liability, or shall not be blamed for these case matters & situations.


These is just draft for faq. Any further suggestions or corrections are welcome.

@NDSTHEBEST
Copy link

@dhananjaipai think, I'm in favor of removing extension support even on desktops!
but I'm still thinking about it a bit, including your request.

Please add support for extensions. It will be very helpful. I've been searching for how to do it, but since I'm not a developer and even if I were, I couldn't do it because I do not possess the source code. So, in short, please add this to future releases, at least as an option🙏

@Universalizer
Copy link

Check all open and closed issue's section of ice,raven and ki,wi Browsers, feels pity or compassion for their developers and maintenance.

Even, i myself personally speaking, would like to have extension's support, but thinking Carl was alone, Uazo collaborating him and consistently enhancing Bromite as much as possible by Uazo.

Worry that Uazo also does not gets irritated or frustrated or get tired in the end, Also currently Bromite status that is unknown, that should never ever happen again with Uazo and Cromite (After Bromite only hopeful and trustworthy Purest 100% FOSS Browser without any proprietary libraries or codes in software package).

That's it.

Bromite or Cromite User Community can promise following,

Uazo you please add extension support to Android's Cromite, we promise you that we will not harass you for any specific/particular extension related problems of any kind. WE SWEAR.

But, how the newbie or beginners may be aware of it :- Whether any specific problem is related to upstream Chromium, or Cromite, or by any extension, it might be slightly/heavily complicated. Atleast today we can guess whether it is either of two.

These are all concerns.

@Universalizer
Copy link

Remember my words,
Generally, Speaking is easy, but to implement it, sometimes becomes hard or tough.

Same way, Promise or Swear is easy, but to implement ❓️

@DI555
Copy link

DI555 commented Oct 19, 2023

@uazo , nevertheless, imo, the best way is to make extensions support be optional, switchable by a switch!
This way will take a restart of browser, to make an extension api be active or inactive from the restart.
So, really all will be happy!

@uazo uazo added the It would be nice to have it It would be nice to have it, in my opinion label Oct 21, 2023
@Rusenche

This comment was marked as off-topic.

@Rusenche

This comment was marked as off-topic.

@uazo

This comment was marked as off-topic.

@spergware
Copy link

+1

@uazo
Copy link
Owner

uazo commented Nov 26, 2023

@9cento take a poll! it would be interesting to understand what users are interested in.

@AlbahrawyTiger
Copy link

@9cento take a poll! it would be interesting to understand what users are interested in.

+2

@uazo uazo added the user report is a user report label Dec 24, 2023
@VPaulV
Copy link

VPaulV commented Dec 28, 2023

Probably it can done in a similar way ungoogled-chrome does? Where extensions are not supported but if you want them you can install the NeverDecaf/chromium-web-store plugin?

@VPaulV
Copy link

VPaulV commented Dec 28, 2023

@foxjaw yes, you are right. My comment was regarding the desktop part

@sid44sid
Copy link

Please, let me explain, why I'd like to have extension support. In my case internal adblocker still misses some ads. But k|w| with uBlock + tampermonkey + adlist jx fix performs excellently. If internal adblocker in Cromite acts with same effectiveness, then no need in any other extensions in my case. All other features are enough to cover most expectations of users imho.

@uazo
Copy link
Owner

uazo commented Jan 17, 2024

what is k|w| ? and adlist jx fix ?

@sid44sid
Copy link

what is k|w| ? and adlist jx fix ?

Kiwi browser (sorry for strange typing). Here is script for tampermonkey: https://greasyfork.org/en/scripts/19993-ru-adlist-js-fixes
I've tried to install it in Cromite (as link and standalone file), but without success for removal annoying ads. :(

@prirai
Copy link

prirai commented Jan 24, 2025

Just here to give my bits. Cromite as of now is the best thing there is and I love the direction it is going, thanks @uazo !

Now the question of extensions or no extensions, I would suggest integrating a subsets of features would be a better approach, but I leave it to the developers to decide. For now the browser has filter lists and user scripts support. The features users would love to have are element blocker and a block media over a certain size. The block media over a certain size should be easy to implement I think. Additionally for ad filtering, only allowing the users to choose one of the ublock filters should work as well.

@lrq3000
Copy link

lrq3000 commented Jan 24, 2025

I don't understand this appeal to a closed system. In the past it never worked. Nobody wants someone else to decide for them what they can or cannot install on their system, and in the end what they can or cannot do with their system. This is why Microsoft Palladium failed miserably, while Linux became the backbone of internet (hence the OS that is the most exposed to security issues and yet sysadmins continue to vet Linux as the best choice for internet and security infrastructures, because full openness led to the best security contrary to intuition).

If you want/need to keep the freedom to install the softwares you want/need on your computer, you can imagine why others may want the same freedom about what they install on their browser. And I argue that just like Linux is the safest because it is the most open, the most open browsers will be the most secure ones (and also the only ones used since browsers are becoming more and more like OSes - it's no surprise Google made ChromeOS).

@veganomy
Copy link

Just remember that if you're keen to use uBlock Origin or any dynamic content filter extension, I'm sorry to let you know that you only have time until June 2025. So don't be excited for extension support, unless you also rely on other extensions that still work on MV3. This won't be an issue on Firefox anyways.

@Doc-4
Copy link

Doc-4 commented Jan 25, 2025

Just remember that if you're keen to use uBlock Origin or any dynamic content filter extension, I'm sorry to let you know that you only have time until June 2025. So don't be excited for extension support, unless you also rely on other extensions that still work on MV3. This won't be an issue on Firefox anyways.

The implementation of extension support in Cromite would likely be custom anyway if the plan isn't to sit around for Google to do it. As long as chromium losing support for MV2 isn't due to gutting code, it may not matter. I don't know the technical details of the planned deprecation though.

@veganomy
Copy link

@Doc-4 Don't forget that the browser manifest isn't just a browser thing. It's also a webpage thing, where a webpage owner can easily restrict the surfing if user has outdated extensions due to security issues (which could be MV2 based).
When Chrome does this (which has 89% of the marketshare), it's a matter of time where webpage owners start restricting those who use outdated extensions. Especially the bank ones. It'll be a cascading effect, similar to what happened to Flash.

@Doc-4
Copy link

Doc-4 commented Jan 25, 2025

The problem with Flash begins and ends with most modern browser's inability to use it due to the embedded plugins being removed. Flash itself (cleanflash or similar) still works fine as does the content it plays, I find that to be a poor comparison.

The web for the most part is open enough that issues stemming from that can be mitigated by the browser developer or extension developer, although it's a dumb cat and mouse game at that point. Regardless, the websites most interested in blocking things for security reasons that are worth using (banks) are also the websites you need MV2 dynamic filtering on the least, use a different browser for that or turn it off and back on, it's not zero-sum

@spergware
Copy link

JFYTK:
The developer behind the well-received Kiwi Browser for Android has revealed that the app is effectively shutting down.
The app has been pulled from the Play Store and will no longer be maintained after January.
Fortunately, the developer revealed that Kiwi’s support for extensions has been ported to Microsoft Edge Canary.

So, what now?

@Doc-4
Copy link

Doc-4 commented Jan 25, 2025

@spergware
It's nice to hear something from the Kiwi dev after silence for quite some time, I'll have to go give it a read. Hope they're doing well. I've used Edge Canary in testing environments. It's a lot better than Edge on Android sounds like it would be, but the UI is almost as bad as Brave's "bottom" toolbar, and has almost as much bloat. If you just want extensions in a chromium browser though, it's passable while uBlock Origin still works.

@PF4Public
Copy link

webpage owner can easily restrict the surfing if user has outdated extensions

Do you have any references for this claim? I thought webpages have no way of telling if and which extensions are installed. Apart prom indirect probing, I guess.

@veganomy
Copy link

@PF4Public That I'm not sure of. But can a webpage know if the browser still supports MV2 ?

@Secret-chest
Copy link

Is there a libre Chromium browser with extensions?

@Doc-4
Copy link

Doc-4 commented Jan 25, 2025

Is there a libre Chromium browser with extensions?

Kiwi, albeit discontinued with no support, so the experience will only get worse over time and you should be careful since it will have unpatched vulnerabilities

@PF4Public
Copy link

But can a webpage know if the browser still supports MV2 ?

I doubt it either.

@veganomy
Copy link

So the only drawback of MV2 phasing is that the chrome web store can't publish MV2 extensions anymore right? Or does the installation of such extensions also restricted directly by the browser that phased out MV2 ?

@Doc-4
Copy link

Doc-4 commented Jan 26, 2025

@veganomy No, they use entirely different APIs, and the MV2 ones will be phased out of chromium, this isn't a "restriction", this is the components responsible for MV2 extensions working the way they do likely being removed or modified. This is detrimental but not lethal to anyone who wants to continue maintaining them in browsers that aren't actually shipped by google. It might look a lot like how Kiwi maintained their changes and rebased them on top of chromium. If Cromite had extension support made from scratch or at least not copied from desktop chromium it could very well support MV2, though exactly how much work it'd be to maintain that is beyond my understanding

@doctorreditshere
Copy link

doctorreditshere commented Jan 27, 2025

I think I don't need an extension because the adblocker in cromite is enough, but can I get translation? No matter what translation script I've tried on greasyfork, none of them work.

@veganomy
Copy link

Isn't translation built-in ? You don't need a specific extension for that.

@Secret-chest
Copy link

Isn't translation built-in ? You don't need a specific extension for that.

Not here, because it's a Google service

@doctorreditshere
Copy link

Isn't translation built-in ? You don't need a specific extension for that.

Not here, because it's a Google service

By the way, maybe cromite can get a community for translation services like firefox does, like using crowdin.. But first, if it's difficult, can we get any translation first that supports all languages? I don't want extensions that can affect the security of my beloved Chromite browser🥹

@veganomy
Copy link

veganomy commented Jan 27, 2025

Well this is another built-in feature of firefox btw. Although you only get select languages / dictionaries & not the less populated ones.
Extensions can't get you so much functionality that rely on browser features.

@lrq3000
Copy link

lrq3000 commented Jan 27, 2025

KISS Translator is a translation extension that works on Chromium for Android browsers such as Kiwi and Lemur. It supports multiple services (a lot of free ones), custom APIs, and all languages.

There are also offline translation services such as Linguist based on Bergamot (the same translation engine as Firefox) but it is more finicky and limited.

In the future I expect genAI based translation to become the norm, eg, nllb allows to translate more than 200 languages fully offline.

That's the nice thing with extensions, they can extend functionalities in infinite unexpected directions without adding burden on the core browser developer. And for those who don't want to increase the security exploit surface, they can just ignore them.

BTW integrating adblocking, translation and other functionalities does not make them more secure, in fact probably less because then there are less people who can work on it (only the core browser devs).

@Secret-chest
Copy link

I don't want extensions that can affect the security of my beloved Chromite browser🥹

Then don't use extensions; those who want extensions will still benefit

@lrq3000
Copy link

lrq3000 commented Jan 28, 2025

For information, it appears that Microsoft Edge Canary's support for all extensions is directly based on the Kiwi patches I linked to above, and some direct discussions with Kiwi's developer.

If Microsoft devs chose this route, this suggests it may either be the only one or either the most manageable one in the future...

(BTW the OP post in the reddit link above explains how to install any desktop extension, dev mode must first be enabled in Edge and extensions are then installed by the id from the store URL).

@Doc-4
Copy link

Doc-4 commented Jan 28, 2025

@lrq3000 The repo for Kiwi confirms this directly. It's also not the first time the developer corresponded with MS, the browser has/had (didn't check the latest build) a bing affiliate program. It being incorporated is a win-win, dev gets paid for writing code no other major browser did but many wanted, more choice for everybody and better than the code just sitting in a repo that's now discontinued, imo. Though of course I'd prefer it be in a browser more to my taste.

Kiwi's night mode (applies black theme to the top and bottom UI bars too), full dev tools (net request interception on mobile, to name one use), and extension support were my favorite changes, and I'd love to see a browser like Cromite adopt some of those unique features, it's already really good but I miss uBO advanced mode's extreme level of control per site and extensive filter list, I tried importing some filter lists to Cromite but couldn't quite replicate the results, even brave failed at that. There are too many security and usability reasons to not use Firefox on Android, and I use it near exclusively on desktop.

@lrq3000
Copy link

lrq3000 commented Jan 28, 2025

@Doc-4 I agree and I am all for OSS devs getting paid, as long as the software remains opensource, it's awesome if the development can get funded perennially. However, I don't know about the bing affiliate link, but in the reddit comment I linked above, it seems that Kiwi's developer was independent from Microsoft, they directly grabbed the opensource code and asked him some implementation questions privately, so it doesn't appear he was paid for his work on Kiwi nor for Edge which is unfortunate. He just recommends it because this is the only non chinese non shady alternative up to date Chromium based browser with extensions support (but it's not opensource either).

BTW I just tested with the given instructions, it's a bit cumbersome but extensions indeed work when installed by id on Edge Canary in dev mode.

/Edit: after testing some more, almost all extensions work from my list above, which is very impressive, except that extensions options cannot be accessed for some reason, edge blocks edge://extension requests! So it's not possible to log-in wayback archive and software heritage, so I cannot switch to it because of my involvement in digital preservation initiatives. But for most people, it should be a fine alternative (tested ublock origin, adguard, privacybadger, malwarebytes, adskipper.me and others, all working fine). Note that extensions that are not available on the Edge microsoft store but are in the Chrome store can still be installed by crx if you use a crx file downloader, including MV2 extensions.

@Zig-VS-TypeScript-VS
Copy link

Android introduces extension patches
https://github.com/gz83/chromium-android-extension
https://github.com/dvalter/chromium_extension_patches

@PF4Public
Copy link

Android introduces extension patches https://github.com/gz83/chromium-android-extension https://github.com/dvalter/chromium_extension_patches

Those repos are 5 and 4 years old.

@Zig-VS-TypeScript-VS
Copy link

Android introduces extension patches https://github.com/gz83/chromium-android-extension https://github.com/dvalter/chromium_extension_patches

Those repos are 5 and 4 years old.

lrq3000 mentioned that Mises Chromium introduced an extension patches update three months ago #256 (comment)

@aicynide
Copy link

aicynide commented Mar 3, 2025

Patiently waiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
It would be nice to have it It would be nice to have it, in my opinion user report is a user report
Projects
None yet
Development

No branches or pull requests