ToolFlight

A set of tools and features for the online notation platform called Noteflight.

// ==UserScript==
// @name         ToolFlight
// @namespace    Unseeable's Noteflight Tools
// @version      1.0.0-b1r1
// @description  A set of tools and features for the online notation platform called Noteflight.
// @author       Colton Stone
// @homepage     https://github.com/Unseeable8710/ToolFlight
// @license      GPL-3.0-or-later
// @tag          productivity
// @tag          utilities
// @match        https://www.noteflight.com/*
// @require      https://update.greasyfork.org/scripts/540433/1612221/JSVL.js
// @icon         https://www.google.com/s2/favicons?sz=32&domain=noteflight.com
// @grant        unsafeWindow
// @grant        GM_registerMenuCommand
// ==/UserScript==

var uwin = unsafeWindow;
function searchUserScores() {
  var name = prompt("Enter the username of the person whose scores you want to find:");
  if (name != null) {
    open(`https://noteflight.com/music/search?term=${name}`);
  }
}
GM_registerMenuCommand("Search scores by user", searchUserScores, {
  accessKey: "u",
  title: "Searches for scores by a specific user. This can be handy if their scores aren't displayed on their profile."
});
(function() {
  'use strict' // I'm not British, I just used single quotes for this. I usually prefer using double quotes because my American self is used to them.
})();