Skip to content

Instantly share code, notes, and snippets.

@muffinresearch
Created November 8, 2011 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muffinresearch/1347594 to your computer and use it in GitHub Desktop.
Save muffinresearch/1347594 to your computer and use it in GitHub Desktop.
This script adds styles to remove the youtube link widget from G+
// ==UserScript==
// @name Remove Youtube Links from Google+
// @namespace http://muffinresearch.co.uk
// @author Stuart Colville
// @match https://plus.google.com/*
// @description This script adds styles to remove the youtube link widget from G+
// ==/UserScript==
window.addEventListener("load", function(e) {
var sheetNode = document.createElement('style');
sheetNode.innerHTML = ".zSjKV { display: none !important }";
document.getElementsByTagName('head')[0].appendChild(sheetNode);
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment