Open qazbnm456 opened 7 years ago
Currently Implemented APIs
APIs needed for uBlock
only support "string: color" now
APIs needed for thegreatsuspender
Some extension APIs need to be implemented by writing some C++ code in the lower layer, such as extension.getBackgroundPage
and extension.getViews
.
Will consider writing on my own or use Muon instead, though lots of code will have to be rewritten because Muon has removed the support for running Node.js in renderer processes. Ref: https://github.com/brave/muon/issues/165 https://github.com/brave/browser-laptop/issues/253
APIs needed for Grammarly for Chrome
We can extract the source code from .crx file through http://crxextractor.com/ or via https://github.com/6IX7ine/cromos.
APIs needed for Virtual Keyboard
这个浏览器现在支持windows吗?
@82318179 支持,但還有很多功能未完善。
APIs needed for Steward
Hey @qazbnm456, I just discovered your project and was wondering if you had any plans to contribute these API additions back into the main electron repo.
Hi @samuelmaddock, there's no such a plan to contribute these API additions back to electron currently since several dirty hacks have been done in this repo. But I'm thinking about making these API as a package to provide a way injecting them to existing electron apps like https://github.com/koush/electron-chrome.
Maybe after finishing the package mentioned above, I'll try to clean up the implementations and pick some back to upstream.
Thanks for your question.
Hi @qazbnm456. Have you managed how to impement extension.getBackgroundPage()
in C++?
Hi @Sential, I was busy before, so I didn't have the spare time figuring out how to implement it. I'll tackle this problem in the near future by mimicking the implementation of chrome.
Have you got Discord? Mine is Sential#9122. I want to talk about extensions API with you.
@Sential I don't have one. I'll add and chat with you on weekend, perhaps, if I have time. Thank you!
Been spending several days looking into extension system of chromium and found out that some extension APIs need lots of effort to be implemented, e.g. extension.getBackgroundPage()
and extension.getViews()
.
Would revisit them again after electron migrates to OOPIF architecture.
@qazbnm456 Checkout Muon if you need a reference. They have a good amount of the extensions API implemented. https://github.com/brave/muon
@qazbnm456 Have you managed to get uBlock Origin's cosmetic filtering to work?
@qazbnm456 Any further progress implementing extension.getBackgroundPage()
?
@stewartlord No, still have some problems making it work. It's more complicated than I expected and I'll look into it again when I'm available sometime.
thanks
可以支持安卓 和ios吗
@wangfei1988 很抱歉,沒有喔!Lulumi 底層是 Electron,而 Electron 沒有支援 Android 和 IOS。
@qazbnm456 i wanted to point out that i've been contributing to electron to add better support for chrome extensions https://github.com/electron/electron/pulls/samuelmaddock
soon i'll be looking into supporting additional chrome.*
APIs. send me an email, listed on my profile, if you'd be interested in helping out. 🙂
Hi @samuelmaddock, it's great to have you in Electron team so as to push the implementation of chrome.*
APIs better.
点击关闭浏览器后,进程没有被杀死,在window上,第二次打开导致失败,怎么解决
We now have https://github.com/electron/electron/issues/5842 for Accessibility DevTools extension. How about implementing more WebExtensions APIs to support more extensions that are on chrome and FF.