# Wanikani Open Framework \[developer thread\]

**URL:** <https://community.wanikani.com/t/wanikani-open-framework-developer-thread/22231>\
**Category:** API And Third-Party Apps\
**Created:** [November 21, 2017, 5:07pm UTC](https://community.wanikani.com/t/wanikani-open-framework-developer-thread/22231 "2017-11-21T17:07:07Z")\
**Posts on this page:** 1\
**Showing post:** 492

<div class="post-metadata">

**Author:** ![rfindley](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/rfindley/32/35202_2.png) [@rfindley](https://community.wanikani.com/u/rfindley)\
**Post date:** [September 10, 2022, 8:18am UTC](https://community.wanikani.com/t/wanikani-open-framework-developer-thread/22231/492 "2022-09-10T08:18:02Z")

</div>

FYI, there’s been a big update to Open Framework. WK has been modifying a lot of pages lately, including Jquery no longer running on a lot of them, so things have been breaking.

I removed a lot of the dependencies on jquery, but the Settings and Progress modules still require it because they are based on Jquery UI. So, I also added a new Jquery module (wkof.Jquery) that loads jquery if it’s not already included in the WK page you’re running on.

If your script needs jquery to run, you can simply do this:

```javascript
wkof.include('Jquery');
wkof.ready('Jquery').then(do_something);

function do_something() {
   // By the time it reaches this point, Jquery will be already loaded,
   // so you are safe to run any jquery stuff from here on.
}

```

That ensures that only one copy and version of jquery is running on a page.

If you are already using the `wkof.Settings` module in your scripts, it will load Jquery for you (if it’s not still included in the WK page). But if your script actually calls jquery, I’d still recommend including Jquery directly in your script, because there’s a chance I’ll fully remove the Settings module’s dependency on jquery someday.

By the way, the pages WK has changed so far are:  
/level/\*  
/radicals  
/kanji  
/vocabulary

---

_[View the full topic](https://community.wanikani.com/t/wanikani-open-framework-developer-thread/22231)._
