Installing Wanikani Open Framework

I’m having this issue as well! I turned off everything besides open framework and it stayed the same, but when I turned open framework off it worked normally. I’m on Windows though. I rely heavily on double check because I misspell a lot so I do awful on reviews without it :sob:

@Bxckloonatic @lilichai you need to update your WKOF and DoubleCheck script. They received an update.

2 Likes

Thank you!

1 Like

yes it helped! Thank you so much!!

2 Likes

There is no link from this topic to the developer thread. There are more steps to navigate there on mobile that on desktop.

I noticed that Typescript SubjectType provided by @kumirei has 4 types, while SubjectTypeShort has only 3.

Hi - I had to reinstall Windows and now I can’t get my WaniKani scripts to work (no trouble the first time though). I’m on Firefox version 120.0 and it says it’s up to date, and I’m using TamperMonkey. Here’s my JavaScript error log that I definitely don’t understand

Anyone know why the script menu cog would be missing? Even when this is the only script installed it doesn’t appear.

Open Framework doesn’t create the menu unless another script requests to install a menu item, so you’ll need at least one additional script. Since you mentioned the cog icon, I’m assuming you’re expecting it on the Reviews or Extra Study page. Since my most well-supported script is Double-Check, I would suggest installing that at least temporarily to confirm that Open Framework is installed correctly and is working.

Thanks, I didn’t know that. The cog appears after installing Double-Check.
I guess the problem was with the script I was trying to install.

I installed Tampermonkey on Chrome and then tried to install Wanikani Open Framework but I got the following message:


I went to Chrome webstore but it doesn’t have WK Open Framework.

I’ve been using WK Double-Check for about a year on my pc and I’m trying to install it on my surface pro. Has something changed? How can I install Open Framework and Double-Check on my laptop?

Thanks!

Try this: Check out the first part of these steps (downloading the javascript), but then just open the .js file, copy the contents, and paste it into a new script in TamperMonkey.

1 Like

I downloaded Wanikani Open Framework.user.js but when I opened the file I got the following error message.

image

So I went ahead and dropped the file into the chrome://extensions window, confirmed it and the file is now listed in my Chrome Extensions as shown below:

I don’t think this is what I want. What now???

Also, when I finally do get WKOF and Double-Check in Tampermonkey on my laptop, I can’t seem to get to that window where it lists all my userscripts. If I can’t get to that window, then I won’t be able to move WKOF to the top. The screen shot below is the same as on my pc where I do have my userscripts installed in Tampermonkey. But like I said, I don’t know how to bring up the window with the userscripts listed (although I did it about a year ago when I set it up back then).

Yeah, you don’t want scripts installed directly as extensions, so you’ll want to remove that first. Also, when you tried to open “Wanikani Open Framework.user.js”, I’m guessing you double-clicked it, which told Windows to run it. Sorry I wasn’t clear… I meant for you to open it in a text editor, such as Notepad, so you could copy the contents of the file and paste it into TamperMonkey. Instead, try renaming the file from *.js to *.txt, which should allow you to double-click it to open it in Notepad.

Your screenshots above seem to be the Tampermonkey website, not the extension. To get to the extension, you need to go either click on the Tampermonkey icon in the upper-right corner of the web browser:

Then click on Dashboard in the pop-up menu. If you don’t see that icon, try opening the Extensions menu in Chrome (click the icon that looks like a piece from a jigsaw puzzle), find TamperMonkey, and click the pushpin next to it to add the TamperMonkey icon to the Extensions area in Chrome (upper right corner).

1 Like

DONE!

DONE!!

My browser doesn’t show the Tampermonkey icon; hence the problem I had finding the page with the userscripts! But I figured out how to get my userscript list. At first I couldn’t confirm your Double-check works since I have no reviews at this time. So I installed Self-study quiz and Double-check works fine!!! :slight_smile:

DONE!!! :slight_smile:
Thank you so much (I don’t know why but I make typos often enough that I really do NEED Double-check)!!! :slight_smile:

Whenever I open WK, one of the two boxes open as well, which araigoshi thinks are from the open framework:

grafik
grafik

Along with them, most scripts don’t appear to work as well, like Reorder Omega, Heatmap, Ultimate Timeline etc.

This is what I see when I open the console (it’s a bit too much to screenshot, so I’ll copy pasta it):

Anfrage für Zugriff auf Cookies oder Speicher für "https://js.stripe.com/v3/" wurde blockiert, weil sie von einem Element zur Aktivitätenverfolgung (Tracker) stammt und das Blockieren von Seitenelementen aktiviert ist.

[FrontChat][Front] SDK Version: 7.1.2 chat.bundle.js:2:21665
Error: [FrontChat] Have not finished setting up FrontChatApp
    w https://chat-assets.frontapp.com/v1/chat.bundle.js:2
    m https://chat-assets.frontapp.com/v1/chat.bundle.js:2
    FrontChat https://chat-assets.frontapp.com/v1/chat.bundle.js:2
    <anonymous> https://www.wanikani.com/dashboard:1556
chat.bundle.js:2:20166
Successfully compiled asm.js code (total compilation time 25ms) es-module-shims-b1a766ae18864aaabc0b984bb7c45eb3e6f47293fdf881f8fe2d1577a7fe3adb.js
Das Cookie "undefined_message_status" verfügt über keinen gültigen Wert für das "SameSite"-Attribut. Bald werden Cookies ohne das "SameSite"-Attribut oder mit einem ungültigen Wert dafür als "Lax" behandelt. Dadurch wird das Cookie nicht länger an Kontexte gesendet, die zu einem Drittanbieter gehören. Falls Ihre Anwendung das Cookie in diesen Kontexten benötigt, fügen Sie bitte das Attribut "SameSite=None" zu ihm hinzu. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. application-3aa7018371cbd522abebb97cd9d3fb1b2f730c45ad28b90051ac41305e1c50f6.js:4:19630
[bugsnag] Loaded! app.bundle.js:2:43024
Einige Cookies verwenden das empfohlene "SameSite"-Attribut inkorrekt. 2
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://sessions.bugsnag.com/. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).

Anfrage für Zugriff auf Cookies oder Speicher für "<URL>" wurde blockiert, weil sie von einem Element zur Aktivitätenverfolgung (Tracker) stammt und das Blockieren von Seitenelementen aktiviert ist. 2
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://js-agent.newrelic.com/nr-spa-1.251.1.min.js. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).

Keine der "sha512"-Hashes im "integrity"-Attribut stimmen mit dem Inhalt der Subressource überein. Der berechnete Hash ist "z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==". dashboard
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: A problem occurred when starting up session manager. This page will not start or extend any session. dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    x https://www.wanikani.com/dashboard:7
    api https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading runtime APIs failed... dashboard:7:12366
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://js-agent.newrelic.com/nr-spa-1.251.1.min.js. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).

Keine der "sha512"-Hashes im "integrity"-Attribut stimmen mit dem Inhalt der Subressource überein. Der berechnete Hash ist "z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==". dashboard
New Relic: Downloading and initializing page_view_event failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing page_view_timing failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing metrics failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing jserrors failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing ajax failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing session_trace failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing page_action failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
New Relic: Downloading and initializing spa failed... dashboard:7:12366
ChunkLoadError: Loading chunk 111 failed.
(error: https://js-agent.newrelic.com/nr-spa-1.251.1.min.js)
    j https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    e https://www.wanikani.com/dashboard:7
    a https://www.wanikani.com/dashboard:7
dashboard:7:12407
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("style-src"). content.js:71:427
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("style-src"). Ein CSP-Bericht wird gesendet. content.js:71:427
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). content.js:60:457
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("script-src"). Ein CSP-Bericht wird gesendet. content.js:60:457
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). content.js:60:457
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("script-src"). Ein CSP-Bericht wird gesendet. content.js:60:457
Für "https://m.stripe.network/inner.html#url=https%3A%2F%2Fwww.wanikani.com%2Fdashboard&title=WaniKani%20%2F%20Dashboard&referrer=&muid=b7751695-f868-44fa-bee5-d5968c4af748a4e62c&sid=ed1a0dd0-4615-47f7-8768-ab2821befe5d8db6b5&version=6&preview=false" wurde partitionierter Cookie- oder Speicherzugriff verwendet, da es im Kontext eines Drittanbieters geladen wurde und dynamische Zustandspartitionierung aktiv ist.

Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("style-src"). content.js:71:427
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). 2 content.js:60:457
Anfrage für Zugriff auf Cookies oder Speicher für "<URL>" wurde blockiert, weil sie von einem Element zur Aktivitätenverfolgung (Tracker) stammt und das Blockieren von Seitenelementen aktiviert ist. 2
Diese Website verwendet anscheinend einen scroll-verknüpften Positionierungseffekt. Dies könnte mit asynchronem Verschieben (Panning) schlecht zusammenspielen; siehe https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html für weitere Details und um an der Diskussion über damit verbundene Werkzeuge und Funktionen teilzunehmen. dashboard
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://chat.frontapp.com/c532927ea41813134eb816f1c64dfd46/settings?v=1707116378811. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).

App was not initialized properly 
Object { version: "7.1.2", companyId: 0, channelNamespace: "", publicConversationId: "", shouldShowChatWindow: false, error: "e.emailCapture is undefined", frontChatPageUrl: "https://www.wanikani.com/dashboard", documentVisibilityState: "visible" }

Edit: I just saw that this doesn’t appear to be the case all the time, it works sometimes, but most of the time, it doesn’t…

1 Like

Yes, that box is the Open Framework trying to load your WK data. If it’s getting stuck open, then the data is not loading from WK. I see you have Firefox… do you have privacy setting set high? With certain privacy settings, Firefox blocks indexeddb from storing your WK data on your computer, causing Open Framework to have to load it every time, which can cause WK to rate-limit your API accesses temporarily. I don’t know if that’s what’s going on in this case, though. Anyway, try temporarily turning off (or down) privacy settings when the problem occurs to see if that is related.

2 Likes

Thanks a lot! It appears to be working now (after I set WK as an exception in the privacy settings), but it’s loading extremly slowly, I think it takes like 30 to 45 seconds until the website is finished loading.

Edit: It’s working normally again now… I’m not sure why, but perhaps because I restarted my wifi? :thinking: It’s weird, though, that only the WK dashboard was effected if it was my wifi.

I believe the recent icon update broke the gear icon that is usually displayed next to the home button during reviews, which is quite annoying because I need it to enable/disable the fonts for Jitai. (I’m not sure if that gear button belongs to WKOF, but I assume that it does)

grafik

It’s not the same script, but since you’re also the author of it, I’ll mention it here as well: This update also broke the icon for the undo button of the double-check script.

VERY interesting. I started WK and did my reviews with double-script still working. Then I came here saw your post, went back to WK and voila :frowning: double-script was no longer functional!!!

1 Like

Well, it works for me, but I can’t see the icon :thinking:

1 Like