ShadeRoot Prank

Install this script on a friend's computer, hide their Greasemonkey icon and look at their faces.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

//
// Written by Glenn Wiking
// Script Version: 0.0.1b
//
// ==UserScript==
// @name        ShadeRoot Prank
// @namespace   SRPRANK
// @version     0.0.1b
// @grant       none
// @icon        //
// @description	Install this script on a friend's computer, hide their Greasemonkey icon and look at their faces.

// @include     *

// ==/UserScript==

function ShadeRootPrank(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);
}

ShadeRootPrank(
	'html, body {filter: grayscale(100%) blur(.5px) !important; opacity: .95;}'
	+
	'* a, * button, * li {filter: blur(0) !important; transition: filter 200ms ease-in-out 0ms !important;}'
	+
	'* a:hover, * button:hover, * li:hover {filter: blur(.5px) !important; transition: filter 200ms ease-in-out 0ms !important;}'
);