XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Mobile: backup export nonfunctional

Open marcustyphoon opened this issue 4 years ago • 2 comments

  • The browser I'm using is: Firefox for Android Nightly
  • My browser version is: 94.0a1 on Android 8.0.0 and 8.1.0
  • My XKit Rewritten version is: 0.9.0

On mobile, the "Download" button in the backup tab doesn't appear to function for me!

I haven't looked into what development tools are available on mobile so I haven't looked into this at all.

marcustyphoon avatar Sep 30 '21 01:09 marcustyphoon

I'm going to guess that the problem is the simulated click @ https://github.com/AprilSylph/XKit-Rewritten/blob/62e3b56814008fd677808b50aedfd52283fd2e95/src/browser_action/render_backup.js#L48

AprilSylph avatar Sep 30 '21 09:09 AprilSylph

Hm. Definitely don't have a full understanding of this, but I played with it a bit and got nowhere. Weird that you can't long-press to right click in a webextension "popup" in Fenix, even when you've clicked a working link and the popup has navigated to a regular webpage like Github (which... is a weird thing, in and of itself).

I wouldn't be surprised if this is currently impossible, given the comments around the lack of the browser.downloads API in Fenix; I assume if you could do this blob URL trick it would have come up. Then again, I guess not many people are probably making Fenix webextensions, so who knows.

https://bugzilla.mozilla.org/show_bug.cgi?id=1538348 https://github.com/mozilla-mobile/fenix/issues/16585

marcustyphoon avatar Oct 02 '21 02:10 marcustyphoon