Last active
August 29, 2025 17:56
-
-
Save sudogem/3ed55a3c1de6de62756d8e54338af16e to your computer and use it in GitHub Desktop.
This script will hide the TradingView logo or any custom logo
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 New Userscript | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.investagrams.com/Chart/PSE:* | |
| // @icon https://www.google.com/s2/favicons?domain=investagrams.com | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| setInterval(function(){ | |
| $("div[data-ng-controller=intrusiveShowmanUserControlController]").css("display", "none"); | |
| $("div[data-ng-controller=popupAdsUserControlController]").css("display", "none"); | |
| $("div.modal-backdrop").css("display", "none"); | |
| console.log("hide ads"); | |
| }, 2000); | |
| })(); | |
| /* ================================================================= */ | |
| // ==UserScript== | |
| // @name New Userscript | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.investagrams.com/Stock/* | |
| // @icon https://www.google.com/s2/favicons?domain=investagrams.com | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| setInterval(function(){ | |
| $("div[data-ng-controller=intrusiveShowmanUserControlController]").css("display", "none"); | |
| $("div[data-ng-controller=popupAdsUserControlController]").css("display", "none"); | |
| $("div.modal-backdrop").css("display", "none"); | |
| console.log("hide ads"); | |
| }, 2000); | |
| })(); | |
| /* ================================================================= */ | |
| /* Greasemonkey script */ | |
| /* This script will hide the TradingView logo or any custom logo */ | |
| setInterval(function() { | |
| /* hide the logo */ | |
| document.getElementsByTagName("iframe")[0].contentWindow.document.querySelector('div > .onchart-custom-logo').innerHTML=""; | |
| /* hide the ads */ | |
| document.getElementById("toast-container").style.visibility="hidden"; | |
| }, 1000); | |
| /* hide investagram popup */ | |
| setInterval(function() { | |
| $("div[data-ng-controller=popupAdsUserControlController]").css("display", "none") | |
| }, 1000); | |
No need to use tamper monkey for this. This can be accomplished by a filter list using Ublock or Adguard. I don't recommend Ublock because they are unethical and pick political sides when it comes to managing their software.
||tradingview.com/static/bundles/branding-source*.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't work now!!