Is there a browser on android accepting extensions?
I know how to make java programs on android, and I've yet included Browsers in my programs, but I'm more looking for the kind of extension system (with code in javascript) that we have on our desktop versions of Firefox and Chrome.
Is there something similar on Android ?
My g开发者_JAVA技巧oal would be to port one of my Chrome extensions to Android. Do the Chrome team make something for Android ?
You can try Firefox for Android. You can write extensions for it.
There are not many mobile browsers supporting extension.
Indeed, I have been interested in this question for the last year and I only found Dolphin (as @vvieux wrote) supporting add-ons and other cool features announced few days ago. Firefox Mobile ones look very "simple" for me.
The Dolphin API can be found here with two different approaches as you can see:
Add-on (quite simple):
A Dolphin Add-on is an Android application that interacts with the Dolphin browser to create new functionality. An Add-on can interact with web pages or with browser features such as bookmarks, history, and tabs.
Web App accessing "native" features:
Dolphin gives developers the option of publishing an app, not as a package, but as a thin-client web app for Dolphin users.
As a personal note: I hope to go with the second ones soon.
Russian company has released Yandex Browser Alpha, based on Chromium, and it accepts desktop Chrome extensions. Opera addons also should work.
Also FireFox for Android supports WebExtensions, which are somewhat compatible with Chrome extensions API.
Yandex Browser supports Chrome Extensions.
Kiwi is a Chrome-based browser that allows extensions. I don't know why no one mentions it. Dolphin and Yandex are from China and Russia
There are several extensions in Dolphin Browser
Chrome Android doesn't support them. The common workarounds (if you want to still use chrome) are to add a WebView and then inject javascript into that (in branding terms, it "looks" like your own browser but you're just leveraging WebView). Another theoretical possibility is instructing users to create and use a bookmarklet that "does something they want" those do work on chrome, though only if you type their name into the omnibox and run from there. FWIW, that's about all I've found. I suppose if you were truly desperate you might be able to build your own full copy of Chromium and use that, as well (though it would be tricky to include all parts of it like DRM...)
Yandex browser supports extensions.But it becomes a bit slow if you add extensions.But it works best when compared with Firefox browser or other stuff.
精彩评论