Created
March 10, 2020 21:21
-
-
Save braulioholtz/6dbcca17388c45db128f28c117b48196 to your computer and use it in GitHub Desktop.
Binance - link to futures
This file contains hidden or 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 Binance link futures | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Link to futures | |
// @author Sminem Bitnada | |
// @grant none | |
// @include https://www.binance.com/en/futures/* | |
// @include https://www.binance.com/br/futures/* | |
// @require https://code.jquery.com/jquery-2.1.4.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
console.log("test"); | |
// Your code here... | |
setTimeout(() => { | |
$(".trade-history .kJqiXO").each(function(key, val) { | |
var actual = $(val).parent(); | |
var html = "<a href='https://www.binance.com/en/futures/"+actual.text()+"' style='color: #fff;'>"+actual.html()+"</a>"; | |
actual.html(html); | |
}); | |
}, 10000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment