Unable to do Lessons: can't go to Reading

I’ve tried reloading, restarting my computer and a different browser.

Can’t do Lessons. Stops on Meaning, can’t move on to Reading.
Enter doesn’t work, clicking the arrow doesn’t work.
If I keep trying I get a “page not responding” pop up.
It crashes to the point the tab has to be closed, reloading does not work.

I just did 3, then it happened. So either it happened suddenly or something triggered it.

1 Like

It seems I could get through if I removed all scripts…
But that doesn’t help me. I Want to do my Vocab lessons only, since same level as the Kanji I can’t get them without doing the Kanji first (Which, I will not. I do 3 kanji a day only)

1 Like

After continuously not giving up, doing the same thing over and over expecting a different result like a mad man, I somehow got further on one item at least :rofl:

It might have been script related.

It worked with these on:

So maybe one of the others triggered it somehow?

Edit: Or not
Put all the scripts back on (8 now instead of 7 even, so one more than I had active at first) But it still works. So maybe it just got sorted or was a random temporary hitch?

1 Like

Was able to do reviews, but it was certainly slow, laggy, glitchy and my computer was working full gear XD
As soon as I finished reviews it calmed itself (fan went back of, it only comes on when very pressured)
Nothing stopped working completely, but something is buggy for sure =P

Homophone Explorer tries to use the first API version, so it should not have worked for approximately a year. Was this one of the scripts you still had active? Because when testing it, it caused an endless loop and froze my tab.

3 Likes

I tried with only changing that one on and of, it made the difference!
Thanks!
I’ll have it removed then, since it isn’t doing any good anyway :rofl:
It hasn’t been a problem till suddenly now though, so something in a new update it crashes even more with than usual :wink:

1 Like

Me: Oh no, it happened again!
Also me: did… did I remember to take it off again after testing?
No… no I did not :rofl:

2 Likes

With WK Open Framework and WK Item Info Injector, it would be pretty easy to recreate this script’s functionality. Something like this would already provide the basic functionality:

// ==UserScript==
// @name         Homophone Explorer
// @namespace    homophoneExplorer
// @version      0.1
// @description  For every vocabulary item, it lists all other vocabulary items with the same reading.
// @author       You
// @match        https://www.wanikani.com/vocabulary/*
// @match        https://www.wanikani.com/review/session
// @match        https://www.wanikani.com/lesson/session
// @match        https://preview.wanikani.com/vocabulary/*
// @match        https://preview.wanikani.com/review/session
// @match        https://preview.wanikani.com/lesson/session
// @require      https://greasyfork.org/scripts/430565-wanikani-item-info-injector/code/WaniKani%20Item%20Info%20Injector.user.js?version=962341
// @grant        none
// ==/UserScript==

(async function() {
    'use strict';
	/* global wkof, wkItemInfo */

	wkof.include(`ItemData`);
	await wkof.ready(`ItemData`);
	let items = await wkof.ItemData.get_items({wk_items: {filters: {item_type: `voc`}}});
	let byReading = wkof.ItemData.get_index(items, `reading`);
	wkItemInfo.forType(`vocabulary`).under(`reading`).appendSideInfo(`Homophones`, o => {
		return o.reading.flatMap(r => byReading[r]).filter(i => i.id !== o.id).flatMap((i, idx) => {
			let result = [];
			if (idx !== 0) result.push(`, `);
			let link = document.createElement(`a`);
			link.href = i.data.document_url;
			link.target = `_blank`;
			link.textContent = i.data.characters;
			result.push(link);
			return result;
		});
	});
})();

It would just have to be polished a bit to make the links visually appealing, because this still looks pretty barebones:

image

9 Likes

I love you

1 Like

I love Emilia.


Since nobody has used this code snippet to create a userscript yet, I should probably release this bare-bones version on Greasyfork so that I can keep it updated (the code snippet uses an outdated version of WK Item Info Injector).

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.