1. Forum
  2. >
  3. Topic: Spanish
  4. >
  5. Chrome extension for saving m…

https://www.duolingo.com/profile/BenjaminIl

Chrome extension for saving mouse clicks in lessons

Hello,

I've made a Chrome Extension, which saves three mouse clicks per lessons. If you click into a category, the next lesson is going to be automatically started. If you finish a lesson, you're going to be redirected to the "Home" page.

Animated pictures say more than words: http://bit.ly/duo-binge

Installation from the Chrome Webstore: https://chrome.google.com/webstore/detail/duolingo-binge/fbmkgmcpggolmkdjjgmjeacpkefiddcp

Apparently the extension only works on the "old" site. I'm not switched over to the new site yet, so I couldn't test it. Once I'm switched to the "new" site I'll try to fix it.

// Update 17th June 2017: I got switched to the "new" site and adapted the extension to it. Should work now with both "old" and "new" site layout.

June 5, 2017

19 Comments


https://www.duolingo.com/profile/Gerardd88

Looks like a great thing but doesn't seem to work on the new site. I had to remove all the extremely useful userscripts I had been using and won't be able to use this one either.


https://www.duolingo.com/profile/BenjaminIl

Once I'm switched to the new site I'll try to fix the extension


https://www.duolingo.com/profile/BenjaminIl

I got switched to the new site and fixed the extension. You could try now :)


https://www.duolingo.com/profile/Gerardd88

Thanks for letting me know. The part with starting the lesson right after you click on the unit works better than I had imagined but I don't understand the part after the lesson. Why should it redirect you to the home page? I'd love it if it started the next unfinished lesson from the same unit automatically and redirected you to the home page if all the lessons from the skill had been completed. Did you have strenghtening skills in mind? If I'm getting through the tree lesson after lesson, I have to actually use more clicks.

Would it be a problem to add an option to change it somehow? (or to change it completely if it was designed for skill strenghtening). I would probably try to change something in the code if it were a script for Tampermonkey (or rather changing things comparatively and seeing if it works, since I don't know js :D) but here I can't of course. I would be obliged.


https://www.duolingo.com/profile/BenjaminIl

Thanks for the feedback! Yepp, the extension was designed for the strengthening lessons. I'm only learning one language at a time and 90% I'm doing strengthening lessons. I try to keep everything golden before I make a new unit. I'll see if I can add an option to disable the redirect to the homepage after the lesson.


https://www.duolingo.com/profile/blueandnerdy

Using the extension for new lessons also skips the Tips & Notes, so maybe clicking on a new/unfinished unit should always go to the unit page, and the extension would just go from lesson to lesson within the unit. After the last lesson in the unit, the extension could then go back to the home page.


https://www.duolingo.com/profile/Gerardd88

Really good point. Didn't think about Tips & Notes. The way you're suggesting it is exactly like I would like it to work.


https://www.duolingo.com/profile/blueandnerdy

Love the name. I was just about to finish out a tree tonight, so I'm looking forward to using this. Thanks!


https://www.duolingo.com/profile/jimnicholson

Does it work on the new site? I notice your screenshots are from the old site.

BTW They list these on the wiki (in case you want to add)


https://www.duolingo.com/profile/BenjaminIl

The screenshots are from the site I'm using. I'm not aware of any new site? I'm using this extension daily so I will try to fix it if I'm getting switched to a new site.

If it doesn't work for you and you are a little javascript-savvy, feel free to improve my code ;) https://github.com/funkybaboon/duolingo-binge/blob/master/clicker.js

Is this the wiki you're talking about? http://duolingo.wikia.com/wiki/Duolingo_Browser_Extensions


https://www.duolingo.com/profile/jimnicholson

They have re-written parts of the site (from Python to Scala). We are all slowly being moved across to it. It looks similar but the HTML is different.

And yes that was the wiki page I meant. :-)


https://www.duolingo.com/profile/BenjaminIl

Sounds like a backend change to me. If they are not changing the frontend (layout or the css), my extension is not affected.

Thanks for the hint with the wiki. I've added my Extension to the list.


https://www.duolingo.com/profile/BenjaminIl

Seems like they changed the Frontend from jQuery to React too. The extension should work now with the new layout. Can you test?


https://www.duolingo.com/profile/jimnicholson

Sorry, traveling right now - only on iPad. Fast work though!


https://www.duolingo.com/profile/blueandnerdy

Looks like it works on the new site for me!


https://www.duolingo.com/profile/p8c

nice! thanks benjaminll, have a lingot!


https://www.duolingo.com/profile/LeiferB

Could you make a Safari (macOS web browser) version?


https://www.duolingo.com/profile/BenjaminIl

I'm not familiar with the Safari API, sorry.

The code for the Extension is on github (https://github.com/funkybaboon/duolingo-binge) so if someone knows how to make a Safari version, they can port my code.


https://www.duolingo.com/profile/BenjaminIl

I got switched to the "new" site and adapted the extension to it. Should work now with both "old" and "new" site layout.

Learn Spanish in just 5 minutes a day. For free.