jpd236 / CrosswordScraper

Browser extension which downloads crosswords from crossword applets for offline solving.
Apache License 2.0
29 stars 1 forks source link

Feature request: support for Android #22

Closed wanders78746 closed 2 months ago

wanders78746 commented 1 year ago

It would be great to have this great tool available on either Chrome or Firefox on Android.

jpd236 commented 1 year ago

Chrome for Android doesn't support extensions. There are other Chromium-based browsers which do, but my general feeling is that there are too many unique flavors to try and support more browsers unless it's trivial to do so.

Firefox does, but currently limits the ability to install extensions to a small set of curated extensions, per https://extensionworkshop.com/documentation/develop/developing-extensions-for-firefox-for-android/.

So I definitely see the use case for this, but I think some work will be needed from at least one of the browser vendors before there's reason enough to devote time into making the scraper work.

wanders78746 commented 1 year ago

Jeff,

THANKS for looking into this. I use Firefox on Android, and knew that it supported some extensions. I didn’t know that they were curated.

Willie

arelkin commented 1 year ago

On the Andriod FF drop-down menu, there is an option to "Request Desktop site". I check that box, and then I can access ALL the Firefox plugins. I installed Crossword Scraper on FF-Android and I have been able to download all three formats: puz, jpz and pdf.

Android-Firefox, vers. 68.11.0 Crossword Scraper, vers. 1.2.17

ff-dropdown-menu

jpd236 commented 11 months ago

With the announcement that Firefox is once again opening the door for any extension on the latest version of the app, I tried to see the current state of the world. It seems like we're able to successfully read/parse a puzzle from at least one page, but none of the links - both puzzle links as well as the "Save Debug Log" link - are working. That suggests the method I'm using to initiate a download of the puzzle data won't work for some reason, though I'm not sure why. I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=1867717 on Firefox - hopefully that will be recognized as a bug, or at least I'll get some workaround, and we can see if that resolves the issue.

jpd236 commented 9 months ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1867717 is now fixed, and I've verified that basic functionality is working as expected on Android.

Some remaining issues, but no blockers I could see:

jpd236 commented 8 months ago

Version 1.3.14 is now available at Mozilla Addons for Firefox for Android v124 and higher, currently in beta, and minus PDF support until they fix a browser issue with that format.

https://whattrainisitnow.com/calendar/ suggests this version of Firefox should go to the stable channel on March 19th.

jpd236 commented 7 months ago

The fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1867717 was reverted due to a new crash so we're back to waiting for that to be fixed.

jpd236 commented 2 months ago

Firefox for Android v130 is now stable, and Crossword Scraper declares support for it, so it can be downloaded directly from https://addons.mozilla.org/en-US/firefox/addon/crossword-scraper/.

So I think we can close this out! If/when Chrome ever adds support for extensions, we'll track that separately. And we can fix the remaining issues discussed at https://github.com/jpd236/CrosswordScraper/issues/22#issuecomment-1920474602 if/when the Firefox fixes land.