Looking through my code, I think this:
$.jStorage.set('currentItem', item);
triggers a listener in the WK code that resets the buttons.
You could do the same. jstorage has a listenKeyChange function, or something similarly named.
Looking through my code, I think this:
$.jStorage.set('currentItem', item);
triggers a listener in the WK code that resets the buttons.
You could do the same. jstorage has a listenKeyChange function, or something similarly named.
It’s probably not practical. I’d need to detect when answers were submitted to enable my button, then disable it again if the user selected Retype
in Double Check to keep the scripts compatible. And I definitely wouldn’t want to reset the current item as part of my script.
All I want to do is add a link to the item page for the item currently being reviewed, but not allow the link to be opened until the user has answered. I thought the menu bar would be convenient, but it sounds like I should just find some place in the Item Info
section to put it.
I can add hooks in my script for the various actions, if that helps.
I appreciate it, but I’d like my script to work without requiring people to install Double Check.
I guess I’d recommend capturing WK’s answerChecker.evaluate() function to detect submission, and the $.jStorage.listenKeyChange() for reset and retype.
I saw it, but haven’t looked at the Review Item Delay script yet. I haven’t been on my computer much in the last few days. (I’m on WK via my tablet).
oh ok. I just wanted to check btw, no intention of rushing you
I found some issues when using this script that I’d be very thankful if you had the time to look at:
Good work on the script otherwise, it’s quite helpful! I’ve also been using a few of your other scripts without any issue!
rfindley recently updated how settings are handled, so you might just need to turn it on again. That’s just a guess of something to try since I don’t use either of those features.
Yes, this is quite annoying.
@rfindley FYI, sometimes when I press Enter
to move to the next question, one of the popovers about multiple answers (or something like that) shows up and there’s a delay of multiple seconds before it moves on. This has been happening basically the whole time the script (your version) has existed, but I still haven’t noticed a pattern for when it happens.
EDIT: It’s the 'Need help? View the correct '+qtype+' and mnemonic'
message that’s popping up when it shouldn’t. I just caught it this time.
[ v2.1.1 ] - Fix wrong-reading warning message.
This part is fixed.
I’m not able to replicate these. Could you post a snapshot of your settings?
Could you also post your settings? The code path for popovers is a bit tricky, so narrowing down the settings to replicate this will help… especially regarding the lightning mode setting.
I have close but no cigar on and I think everything else set to the defaults. But I’ll double check tonight.
These are my settings
As for the correcting an item issue, maybe it could be conflicting with the Reorder script. These are all the WK scripts I use, just in case:
Hey there, I installed this script, and Tapermonkey show’s it is indeed running in the correct context, however no new options or buttons appear. Have I done something wrong? Is it not working properly?
You need to install the Open Framework, which isn’t listed in your screen-shot. You’ll also need to ensure that the Open Framework is configured to run first, before other scripts. The instructions for that are in the top-post.
Thanks for the quick answer, easy fix! Wonderful script Works fine now
thank u <3 ^^
YESSSS, thanks so much!