NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name CoinMarketCap Cleaner // @namespace https://openuserjs.org/scripts/freeos // @version 1.0.1 // @description Cleans the CoinMarketCap UI // @copyright 2019, freeos (https://openuserjs.org/users/freeos) // @license MIT; https://opensource.org/licenses/MIT // @include https://coinmarketcap.com/* // @require https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js // @grant GM_addStyle // ==/UserScript== /* Clean up the CoinMarketCap UI: - Remove Ad Header, Ad Leaderboard and "Advertise" link - Less Header space - Remove right side bar - Remove sponsored links - Compact cryptocurrencies list */ let options = {}; this.$ = this.jQuery = jQuery.noConflict(true); setTimeout(changeCSS, 1000); $(document).ready(function () { switch (document.domain) { case "coinmarketcap.com": changeCSS(); break; } }); function changeCSS() { let css = ` #ad-slot--header-banner, #ad-slot--leaderboard-top { display: none !important; } a[href*="advertising"] { display: none !important; } .cmc-app-wrapper>div, .cmc-bottom-margin-1x{ margin-bottom: 5px !important; } .cmc-table-listing>h1 { margin: 0 !important; } .cmc-main-section__sidebar { display: none !important; } .cmc-sponsored-link { display: none !important; } .cmc-details-panel-buy-buttons { visibility: hidden !important; } .eeZhwQ th > div, .eeZhwQ td > div, .eOeEji th > div, .eOeEji td > div { padding: 0px !important; } `; GM_addStyle(css); }