I'm using google trends widget to show some stuff on my website, but it comes with an annoying and ugly looking footer which i wanted very much to remove
if I run javascript code in the console it can easily be removed
like:
let c = document.querySelector("body > div > trends-widget > ng-include > widget > div > div > ng-include:nth-child(3)");
c.parentElement.removeChild(c);
this will work fine if used in the chrome dev console, but if try to run this code in the page html it does nothing ( i guess there is something related with cors blocks)
does anyone know any way to edit a third party iframe or just remove this annoying google footer?