Darn. I cannot replicate this problem with firefox on my mac. I’ve loaded the Double Check script, but the bug still doesn’t manifest itself. Double Check only affects review pages, not the dashboard, so it’s unlikely to be the problem anyway.
Can you point me to the actual Stroke Order script you’re using? There are multiple different stroke order scripts and I want to ensure I’m replicating your environment as closely as I can (albeit macOS rather than Windows).
All I can imagine is that the Tofugu Latest script is being executed twice on your system for some reason.
Let’s at least verify that by logging a debug message:
Open the Tampermonkey dashboard by clicking on the icon in the upper right of your browser window.
Click the “enabled” button next to every script except Tofugu Latest to turn them off.
Click on the text “Tofugu Latest” which will open the script in an editor window.
Scroll down to the very bottom and find the line containing
Add a line immediately after the
querySelector() call but before the closing braces that reads
console.log("Exiting Tofugu Latest");
Save in the editor window.
Now either open a new tab or refresh the tab in your browser for https://www.wanikani.com (ctrl-R or click the little reload icon
Right click anywhere on the screen and select
inspect. This will open the developer tools at the bottom of your screen.
Click on the “Console” button in the developer tools.
You’ll likely see several warnings and errors for various things that Firefox doesn’t like that are unrelated to this issue (pure tampermonkey and Wanikani dashboard complaints). Turn those off for now by clicking on “Errors” and “Warn” on the second row of the developer tools.
You should be left with just one white line reading “Exiting Tofugu Latest”, but I’m pretty certain you’ll see two such lines.
Here’s what I get in firefox:
If your setup is indeed running the script twice for some reason as I suspect, I’m unsure what might be causing it.
Let’s verify first by following the steps above, but if the script is getting executed twice, it may be necessary to disable any other firefox extensions and reinstall tampermonkey in its entirety.
Since this script is the only thing new in your environment, it’s seems the Tofugu Latest script itself is the most likely culprit, but I can’t think of anything in such a simple script that might cause this to occur.
If anyone else has any ideas, I’m all ears.