Skip to content

Instantly share code, notes, and snippets.

@dnikonov
Created October 31, 2019 10:03
Show Gist options
  • Save dnikonov/416e7b4b3dae6b05f9db54b87a961793 to your computer and use it in GitHub Desktop.
Save dnikonov/416e7b4b3dae6b05f9db54b87a961793 to your computer and use it in GitHub Desktop.
// ==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