Glagan / SyncDex

Automatically sync what you read on MangaDex across many services like MyAnimeList, Anilist, Kitsu and more.
Mozilla Public License 2.0
46 stars 0 forks source link

[REQUEST] Viability of SyncDex UserSript version? #23

Open frykauf opened 3 years ago

frykauf commented 3 years ago

Would be adding a UserScript version viable? A lot of users might actually prefer that over a browser plugin (once they try the general performance of plugin vs script).

It does usually perform better and it would also be a good backup for people when the (currently in early development) browser plugin wouldn't always work the best. (let's be honest it's going to happen)

For example Mal-sync has UserScript version that is absolutely superior over the plugin version.

Also UsersSripts are quite a lot better when 2 of them are modifying a page, and for reading manga it's not strange at all for people to have 2 or more tracking/reader browser plugins/scripts running at the same time for the same site.

Anyways thank you for your work. Mangadex deserves cross all major sites, cross site tracking. Thank you for making it possible.

Glagan commented 3 years ago

I never made an UserScript (with more than a few lines) so I don't know if it would work, it should if I can use the same API as if it was a native extension, I'll have to check.
The compilation process also would be different since it's going to be a single file, and I don't know how options works, If I can't have a full option page I would have to add it directly somewhere with an accessible button.

About the performance part I'm not really sure, all I could find say that the extension would be faster than the Userscript, but it does no matter in the end, 99% of the time spent by the extension is waiting for the requests to the Services.

For the availability (I don't really know how to phrase it), Firefox validates in less than an hour, and Chrome these days seems to do it in less than a day.
The limiting factor is me, how fast I can track and fix bugs, the compilation and publish process only takes a few minutes.

I'll still look at it, since I understand not wanting to install an extension and just adding an Userscript, but I can't promise anything yet, and I'll probably do some other things before that (I'm currently in a big refactor and I also have some other projects that need to be done).