It'd be nice if Kiwi could natively download extensions from Edge Add-ons, as some of the extension is missing from Chrome Web Store.
A simple user-agent trick like Opera does, not seems applicable here.
Eg link; https://microsoftedge.microsoft.com/addons/detail/universal-bypass/ckiidekccfgninkobmmofopbbdgdclgg
This issue was referenced in #145
Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Thanks for opening this issue! In the meantime I've created an userscript that creates a button on Edge add-on pages to download the CRX through Edge webstore's API URL that you can install directly to Kiwi or to your userscript manager of choice.
It's pretty dirty and you also might need to refresh the add-on page if you opened it from the add-on gallery in the same page due to it not handling dynamic loading properly (I'm not very good at this 馃槄), but should work fine otherwise.
@Delphox 馃樆
https://github.com/kiwibrowser/src/commit/15020cb2c8969fa02e60b146dad2fcd13f297e00
Let's see if this works
Thanks a lot for adding it so quickly @kiwibrowser ! Really appreciate it!
I updated to playstore version Git201006 (got it earlier thanks to apk.support) however the Get button doesn't seem to be working. It does get regular blue upon loading an extension page (not when coming from the catalog though, same issue my userjs had*), however the button doesn't do anything. Could you look into it?
* If your code uses a better way to grab extension it maybe it should work on the whole domain rather on the /addons/ path?
Yeah you're right it's not working, I'll check again why. You can see I took a slightly different approach but at the end it should work. Let's see :)
Just got home and decided to connect devtools here, turns out just removing the "disabled" attribute here works!


But in the meantime would be nice if you would be able to fix the buttons from lazy-loading (?) sections not updating, such as the infinite scroll on the front page. Including the dynamic ones when opening another extension from within the store. (edit: maybe remove the stupid "download edge" banner too cuz why not but up to you)
So I did some further digging and this is what triggers the banner:

So basically having Edg/<number>.<number> anywhere on the javascript useragent, regardless of the numbers or position (or even if the nav.ua is literally _just that_, even setting it to just Edg/0.0 works) gets rid of the banner and doesn't leave a padding behind. So that's probably the easiest way. Although the cleanest way would be instead just appending at the end of whatever Kiwi is using.
Thanks for the research,
I did JS UA override in Google Chrome extension store here:
https://github.com/kiwibrowser/src/commit/71134fb5979e7900217c052b31d3859fffb859c0
if you need a reference, otherwise I can do it (but first I need to take care of the next release)
Oh I'd appreciate if you did it. I'm not really good at this and can't build it locally to test. But take your time and thanks for what you're doing!
Cool! Just so we're on the same page, the UA hint is just to remove the "install edge" banner. You still need to fit individualButton.disabled=null (?) somewhere to make the Get button actually respond.
Ah right, I had individualButton.removeAttribute('disabled') in one of my test versions but I forgot to put it there. It's building right now. I have put window.open as well, as window.location.replace seems not to work in some cases due to https to http downgrade (during a redirect if you try to access a http page, in some cases the browser may refuses to navigate)
Tested and it works great! Both the button and the lack of banner. Now the last piece of the puzzle would be making it still update the button of dynamically-loaded elements (when you navigate between extensions within the same page or when you scroll down on the main page and more extensions load). After that it's basically perfect! 馃槃
Most helpful comment
Issue-Label Bot is automatically applying the label
feature_requestto this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!Links: app homepage, dashboard and code for this bot.