This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FUT Sniper | |
// @version 0.8 | |
// @description Adds keyboard shortcuts to FUT Web App | |
// @license MIT | |
// @author Nenad Gajic | |
// @match https://www.easports.com/fifa/ultimate-team/web-app/* | |
// @match https://www.easports.com/*/fifa/ultimate-team/web-app/* | |
// @match https://www.ea.com/*/fifa/ultimate-team/web-app/* | |
// @match https://www.ea.com/fifa/ultimate-team/web-app/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Trie.js - super simple JS implementation | |
// https://en.wikipedia.org/wiki/Trie | |
// ----------------------------------------- | |
// we start with the TrieNode | |
function TrieNode(key) { | |
// the "key" value will be the character in sequence | |
this.key = key; | |