[Userscript] Memrise Auto Learn

I’ve updated the script to include it as an option now (0.0.12).

1 Like

You might want to consider putting a bigger setting in there

wow, 5000 learning events per day is pretty beastly - keep it up!

2 Likes

Still seems to work fine for me, you can PM me with extra details if you would like me to take a closer look.

Thanks A Lot. :sunglasses:

1 Like

Seems to have stopped working for me recently? In fact I’m not sure if it’s the plug-in but recently while learning terms I keep getting re-shown the words as though it’s the first time I’ve seen them.

Hi @dylan.nicholson.548 @cooljingle

Auto-Learn V0.0.12 perfectly worked with Tampermonkey (latest) on Firefox (V52.9.0esr) for my user-created course https://www.memrise.com/course/702398/50-languages-brazilian-portuguese-no-typing/ and was able to fully plant 10 learning items.

I double-check all flower symbols at the summary after the session and they are fully planted.
Course overview of words also shows me that the new 10 words are fully planted and are due for review (watering) in 4-5 hours.

BTW: This was your related thread: Words re-introduced during revision

I’ve just tested on chrome and it seems to work fine still.

Thanks for making this @cooljingle! Really has helped me! Happy Memrising. :smile:

1 Like

Hi @cooljingle

I noticed new errors with “Auto learn” V0.0.12 and this course: https://www.memrise.com/course/692700/no-typing-prepositions-contractions-conjunctions/3/garden/learn

It crashed for me the first time (2nd try) after a few (8) words with F2 activated “Auto learn” on this 9th word:

  • nos
  • English translation: in the; on the; at the (masculine, plural)

After I resetted the whole level and disabled the “Auto learning retries” user script, the “Auto learn” now also crashes immediately after two words successfully (auto) learned on the 3rd entry:

  • da
  • English translation: of the; from the (feminine, singular)

After I restarted the “/garden/learn” session (because it was completely frozen) I could plant ALL (25) words for the level 3.

Indeed at the very first time I got the error on “nos” combined with the described error in the “Memrise learning retries” thread (two exception stack trackes, two for two scripts, which errors seem not to depend on each other!).

Console error exceptions:

TypeError: box.thinguser is null[Weitere Informationen]  eval line 2 > eval:130:25
	MEMRISE.garden.register</< moz-extension://0ae47eb2-9a98-49a8-bf05-561a74b06db8/userscript.html:130:25
	[24]</m<.deactivate https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:70559
	Class</<.inherit/r https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:267324
	[22]</l<.deactivate_box https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:57817
	[22]</l<.advance https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:57427
	[18]</g<.next_press/< https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:31669
	i/i.fn https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:158145
	h/i.id< https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:157934
	t https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:436024

User script code:

if(box.learnable.autoLearn){
                    if(arguments[1] === 1) {
                        box.initialGrowthLevel = box.thinguser.growth_level;

It looks to me that Memrise staff has published again new web code updates in the past weeks.

Or is something very special with this user-created course which probably is set to “no typing” mode (according to the course description)?

Reviewing with typing all of the 25 words worked flawlessly!

Best regards / Viele Grüße

TypeError: box.thinguser is null[Weitere Informationen] eval line 2 > eval:130:25
	MEMRISE.garden.register</< moz-extension://0ae47eb2-9a98-49a8-bf05-561a74b06db8/userscript.html:130:25
	[23]</m<.select_choice https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:63492
	[23]</m<.bind/< https://static.memrise.com/learning/dist/js/learning-session-31ea512a7413.js:1:61590
	S.event.dispatch https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:41420
	S.event.add/m.handle https://static.memrise.com/dist/js/libs-a4fd8e8bf113.js:1:39485
	t

I got a slightly different stacktrace with the the “box.thinguser is null” error message when I started to plant NEW words with one (or more) of these three courses; I think it was the 5000 freq one as I have planted the first five levels (with some ignored words):

A described previously, the “auto learn” error happens most of the time when there is a normal multiple-choice question, I hit F2 and then press the number for the correct answer or select the correct box.

I am going carefully try again for those three new courses, if it sometimes also happens when I am in the typing process (free inbox text field).

@cooljingle: Any chance that you could update your script so that it works with Decks? From what I can see, the only change required is to add https://decks.memrise.com/course/\*/garden/learn\* as a match.

I just did so manually and AutoLearn is working for me on Decks just as it was on Memrise. I’d prefer to keep with your original script though, not sure whether user matches survive an update.

For the time being, if anybody else would like to use Decks with AutoLearn:

  • click the image Tampermonkey icon (should be on the far right, below the window’s title bar)
  • select Dashboard
  • click on “Memrise Auto Learn”
  • click on the “Settings” tab
  • click the Add button underneath the “User matches” listbox and add https://decks.memrise.com/course/\*/garden/learn\*
  • click the Save button at the bottom
8 Likes

@cooljingle

is it just me or auto learn stopped working for both Memrise and Decks?

I just installed it in Chrome and it seems to be working.

I love this! It saved me a lot of time. Still working as of 2020-05-02.

Great! Working as of 08 Sept 2020!

Would be even greater if there was a function to check all the words you already know in the list overview in same way as the ignore function, but I guess that’s more up to Memrise to make.

Thanks a lot! I would tip you for the amount of time you saved me.

On a sidenote, I am getting a dialog box that says Memrise encountered an error every now and then.

It happens when I get the word right on multiple choice tests.

1 Like

After doing some more sessions, I noticed that it pops up at the end of every session if I didn’t make a mistake. If I did get something wrong, it doesn’t show up at the end.

1 Like

I got a little problem with, i got the script and everything i need install but it doesnt enable the script when im on memrise. If anyone can help it would be very appreciated.
thx

Have you verified as to whether both Tampermonkey and the script are active?

Click the Tampermonkey button near the top (to the right of the address bar), then click on Dashboard:
image


On the dashboard, locate the Memrise Auto Learn entry and assure that it is enabled.

How do you enable it?