Last active
August 16, 2017 13:38
-
-
Save Alino/82cd2bcde838f05885f884d658f44d31 to your computer and use it in GitHub Desktop.
This script hides all cryptocurrencies on coinmarketcap.com whose are not exchangeable on Shapeshift.com
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
// 1. navigate to https://coinmarketcap.com/all/views/all/ | |
// 2. open console (F12) | |
// 3. insert this script and hit enter | |
// 4. currencies which are not in the shapeShiftCurrencies array should be hidden | |
// 5. optional: run this script again and it will show back the currencies. | |
$('.no-wrap.currency-name').each(function() { | |
const shapeShiftCurrencies = [ | |
'Bitcoin', | |
'Ethereum', | |
'Golem', | |
'Siacoin', | |
'Aragon', | |
'Basic Attention Token', | |
'Bancor', | |
'Bitcoin Cash', | |
'Blackcoin', | |
'Bitshares', | |
'Civic', | |
'Dash', | |
'Decred', | |
'DigixDao', | |
'Dogecoin', | |
'Edgeless', | |
'EOS', | |
'Ethereum Classic', | |
'Factoids', | |
'FunFair', | |
'GameCredits', | |
'Gnosis', | |
'Matchpool', | |
'Iconomi', | |
'Komodo', | |
'LBRY Credits', | |
'Litecoin', | |
'Melon', | |
'Metal', | |
'Monacoin', | |
'Namecoin', | |
'Numeraire', | |
'OmiseGo', | |
'Potcoin', | |
'Augur', | |
'Reddcoin', | |
'iExec', | |
'Status', | |
'Startcoin', | |
'SingularDTV', | |
'Swarm City', | |
'TokenCard', | |
'WeTrust', | |
'Voxels', | |
'Vericoin', | |
'Vertoin', | |
'Ripple', | |
'Zcash' | |
] | |
let currencyName = $(this).text().trim(); | |
if ($.inArray(currencyName, shapeShiftCurrencies) == -1) { | |
$($(this)).parent().toggle(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment