arekolek / DuolingoCourseSwitcher

User script to enable quick switching of language courses on Duolingo.
24 stars 5 forks source link

The script doesn't seem to work (for me) with the new version of the website. #6

Closed jrikhal closed 6 years ago

jrikhal commented 7 years ago

Duolingo is switching little by little all users to a new version of the website. Like almost all userscript, this one seems to not work anymore with the new version.

arekolek commented 7 years ago

@jrikhal Thanks for the heads up. I don't have the new version yet, but I'll see what I can do once I do.

franzalex commented 7 years ago

@jrikhal I remember you posted an updated version script which works with the new version of the Duolingo website.

Could you please post a link to it here in this issue? That way, users coming here will be able to easily obtain the updated version.
If creating a new repository is too long-winded, you can create a Gist (https://gist.github.com) and post the link here.

arekolek commented 7 years ago

@jrikhal @franzalex Can you guys post a screenshot of the new website here, in case it looks any different?

The reason I'm asking is that I went to Duolingo in incognito mode, because I think I read somewhere that they serve the new website to all new users. But it looked all the same to me. Is there anything different about how it looks? Or is it just some structure that changed, but not the presentation?

franzalex commented 7 years ago

@arekolek As you'll observe in the screenshot I have posted below, visually, the new site is practically indistinguishable from the old.

To my best of knowledge, it is the underlying workings that have been changed. The two I've observed are that (1) userscripts that require jQuery to run have to load their own versions at startup and (2) the ajaxComplete event does not get raised when the language is switched.

Of course, depending on the type of script you are designing / running, there may be other changes you'll have to take into consideration.

image
Click for full size

chrabia commented 7 years ago

Any hope for an update?

arekolek commented 7 years ago

@chrabia I was actually working on an update last weekend. But I just found out that Duolingo now supports this feature by default.

I'm thinking there's not much use for this script anymore, is there?

chrabia commented 7 years ago

Wow, you are right, they are supporting it! Well, I still think that DuolingoCourseSwitcher had a lot better design, but you may be right, that it's not worth it.