Created
July 17, 2021 08:15
-
-
Save Sitethief/9c29ff65397d1eb4a45d25d422e58231 to your computer and use it in GitHub Desktop.
Focus on gift nation input
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 NSFocusGiftNationInput | |
// @namespace sitethiefs-ns-scripts | |
// @version 0.1 | |
// @description Focus on gift nation input | |
// @author Sitethief of Vylixan | |
// @match https://www.nationstates.net/*/gift=1 | |
// @icon https://www.google.com/s2/favicons?domain=nationstates.net | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let input = document.getElementById('entity_name'); | |
if (input) { | |
input.focus(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment