Skip to content

Instantly share code, notes, and snippets.

@gabesumner
Created November 11, 2019 21:43
Show Gist options
  • Save gabesumner/14762e04077101f89df595b6df1bf22f to your computer and use it in GitHub Desktop.
Save gabesumner/14762e04077101f89df595b6df1bf22f to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Hide Invision
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://salesforce.invisionapp.com/*
// @grant none
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('a.powered-by {display:none !important;}');
addGlobalStyle('div.tool {display:none !important;}');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment