Calling userscript authors: Violentmonkey question

I’m trying to figure out how to create a new script and for just a trivial test script, ViolentMonkey show it as matching via the badge, but it doesn’t appear in the dropdown list of scripts that matched.

Note the badge says 10, but the “Matched scripts” says 8. Note that I two new scripts that should both match the reviews page. When the first one didn’t appear to be executing my javascript code, I created this trivial test one.

Both scripts appear on the ViolentMonkey Dashboard.

The sum total of the script is

// ==UserScript==
// @name        WaniKani Violent Monkey Test
// @namespace   ViolentmonkeyScripts
// @match       https://www.wanikani.com/review/session
// @grant       none
// @version     1.0
// @author      Frustrated Monkey
// @description Trivial test script
// ==/UserScript==

console.log("Hello WaniKani")

Anybody with any script experience know why this might be happening?

I should be doing reviews, but instead I get obsessed with figuring out why stuff is broken…

For completeness filed a bug here.

Badge count does match matched count. · Issue #1186 · violentmonkey/violentmonkey · GitHub

Upgrading off of latest stable to their latest beta fixed the problem. No idea whether or not that was just coincidence or they actually broke and fixed something.

Did you try restarting the browser?

1 Like

lol. No. Why would I do that? :slight_smile:

You’re right, restarting things never helped anyone

2 Likes

Installing the bleeding edge beta of ViolentMonkey seemed to fix the problem. I don’t know if it was in the browser or in ViolentMonkey.