Skip to content

Instantly share code, notes, and snippets.

// ==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/*
@tpae
tpae / Trie.js
Created November 20, 2016 23:49
Trie.js - super simple JavaScript implementation
// 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;