uso-archive / data

Full mirror of UserStyles.org
https://uso.kkx.one
152 stars 12 forks source link

Updater broken due to userstyles.org update #50

Closed decembre closed 1 year ago

decembre commented 1 year ago

As i said: i can't login and so... i can't update my userstyles in it. Their new design break the login function, which only act as we want Create an account. From Stylus Help on Discord , Mikey said:

"At first, I don't even get that far—it just redirected me to the home page whenever I tried to sign in.

Then something else made perfect sense once I got their new design. 
They removed ALL data from their API except userstyle IDs, which in turn breaks USo-archive. 
You can check the repository and see for yourself.
 I can't tell for sure whether or not that was intentional. 
Either way, it wouldn't surprise me if they broke signing in while they were at it.

Judging from how things work in the redesign, they appear to have switched to Firebase. 
The home page gets a 90 KB gzipped (350 KB raw) JSON file with all the userstyle data. 
That's just ridiculous. 
What makes it worse is that I couldn't find an endpoint that returns one userstyle rather than a collection of them"
Atexor commented 1 year ago

I just removed one character in style to show you ability to update. Check it.

I really wonder what their purpose is in trying to screw up a good website and an add-on like that. Earnings from spying are better than common good? There are more honest ways to make money on an add-on without spyware, ads and destroying site.

33KK commented 1 year ago

Earnings from spying are better than common good

While running a website like that is very cheap (unless you have a shitty ruby backed glued together with a shitty javascript backend i guess?), I don't see why a spyware company would run it out of pocket when they could put a ton of ads and spy on their users :shrug:

They did an attempt at making a pro subscription, but who would pay that just to get a few mediocre "pro" styles lol. They also tried limiting the amount of styles you can install without pro, that didn't go well, they backed off. I don't think a website like this can be necessarily profitable.

33KK commented 1 year ago

Bruh it worked once and I can't replicate it again

Atexor commented 1 year ago

It was enough to provide a few advertisements on the website, e.g. more frequent checks for updates in Stylish for "premium" users or the ability to highlight styles on main page by paying a dollar or two.

Well, then I'll think later about how to modify this style so that users get a warning. But knowing life, USO-admins are probably already thinking how to make our lives more difficult and prevent me from doing it.

P.S. I modified first style again to appear "update" button for more tests if you want.

33KK commented 1 year ago

OH, I finally noticed whats different between working and broken requests https://youtu.be/Mg02NzsXrJk?t=5
image image

33KK commented 1 year ago

Apparently only one of their backend servers is actually functional? :skull:

Actually nvm, can't get it to work again, feels like they just deployed an "update" that broke it or something?

Atexor commented 1 year ago

@tophf I checked on my notebook, where I have Firefox with Stylus 1.5.35 Stylus too. I didn't obtain API download error, style installed correctly - same browser, same language, same addons. Could you update Stylus on Firefox to newer version if API version has been resolved on it?

Also, any style from USO.world is unavailable in it's finder too.

@33KK I got comment on my style page on USO.world that someone also has that issue - it would be nice to add ability to answer these reviews under your own theme. Also, I tested few more times uso style and didn't manage to get it working on this potato site with potato addon. I removed entire style leaving only warning on Search/Translate/Drive about USO bad practices. It looks working, at least for me. Hope that site die soon.

tophf commented 1 year ago

@Atexor, we unpublished 1.5.37 as it had some bugs. The new version 1.5.38 is still in review. AMO has always been taking a very long time to review the addons, at least the featured ones.