Last active
October 18, 2017 06:43
-
-
Save dracorp/9f1625e17ec39e917b2f to your computer and use it in GitHub Desktop.
Ustawia skupienie na kontrolce input dla sjp.pl
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 sjp.pl | |
// @description Ustawia skupienie na kontrolce input i zaznacza wprowadzony tekst | |
// @namespace dracorp.pl | |
// @include http://sjp.pl/* | |
// @include https://sjp.pl/* | |
// @version 0.1 | |
// @grant none | |
// ==/UserScript== | |
window.onload = function(){ | |
var input = document.getElementById("sl"); | |
input.focus(); | |
input.select(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment