Created
October 31, 2019 10:03
-
-
Save dnikonov/416e7b4b3dae6b05f9db54b87a961793 to your computer and use it in GitHub Desktop.
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 bitfinex | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.bitfinex.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.addEventListener('click', function(event) { | |
//console.log(event.target); | |
if (event.target.id != undefined && (event.target.id == 'priceInput' || event.target.id == 'amountInput' || event.target.id == 'stopPriceInput')) { | |
event.target.setAttribute('type', 'number'); | |
event.target.style.height = '30px'; | |
}; | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment