// ==UserScript==
// @name black-and-white
// @include http://*
// @include https://*
// ==/UserScript==

(function() {

var css = function(){/*
img{
filter: invert(0%)grayscale(0%);
}
html{
filter: invert(100%)grayscale(100%);
}



*/}.toString().split(/\n/).slice(1, -1).join("\n");

var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
})();