Last active
September 20, 2023 14:07
-
-
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 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); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems like it doesn't work now