none
이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greasyfork.org/scripts/22002/139945/usefull%20functions.js을(를) 사용하여 포함하는 라이브러리입니다.
In this Repo I save functions they are helpful to create UserScripts. You can integrated they for example like this:
@require https://raw.githubusercontent.com/ArnieTheOne/useful-functions/master/functions.js
changeColor(objId, objClass, bgColor, fontcolor)
changeSize(objId, objClass, width, height)
getKeycodes()
keydown(keycode, run)
keypress(keycode, run)
keyup(keycode, run)
pressKey(elem, keycode)
Example:
changeColor('centerContainer', 'container', 'black', 'white')
changeColor('#centerContainer', '.container', 'black', 'white')
This functions will change the background- and the font-color of every element with the class 'container' or the Id centerContainer to black and white. The two Functions have the same result - you can use '#' and '.' or not :)