Skip to content

Instantly share code, notes, and snippets.

@Alino
Last active August 16, 2017 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alino/82cd2bcde838f05885f884d658f44d31 to your computer and use it in GitHub Desktop.
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
// 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