forked from rolandas-valantinas/gists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crypto.user.js
33 lines (30 loc) · 839 Bytes
/
crypto.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// ==UserScript==
// @name Crypto filter
// @namespace http://tampermonkey.net/
// @version 0.5
// @description try to take over the world!
// @author rolandas-valantinas
// @include *coinmarketcap.com/all/views/all/
// @require https://code.jquery.com/jquery-3.2.1.min.js
// @grant none
// ==/UserScript==
(function() {
var currencies = [
'#id-ripple',
'#id-dogecoin',
'#id-reddcoin',
'#id-bitshares',
'#id-golem-network-tokens',
'#id-status',
'#id-funfair',
];
setInterval(removeCoin, 2000);
function removeCoin() {
var rows = $(currencies.join(", "));
var tbody = $('table.dataTable tbody');
tbody.empty();
rows.each(function() {
tbody.append($(this));
});
}
})();