Greasy Fork is available in English.
Google is always watching, be vigilant my friends!
当前为
// ==UserScript==
// @name Google big brother is watching
// @namespace http://www.google.com/
// @version 2.0
// @description Google is always watching, be vigilant my friends!
// @author @aproctor, @m1m1k
// @match https://www.google.com/*
// @match https://www.google.ca/*
// @grant none
// ==/UserScript==
if (GM_info.isIncognito) {
// moved code out to ALWAYS! not just during Incognito mode... (althought that's good too)
}
var hpLogo = document.getElementById('hplogo');
hpLogo.style.display = "none";
var lga = document.querySelectorAll("input")[0];
lga.classList.add("google-is-big-brother"); // doesn't work, but setting it via javascript does.
lga.style.backgroundImage = "url('http://blog.loic-simon.fr/wp-content/uploads/2011/05/big-brother-google-is-watching-you.png')";
lga.style.backgroundRepeat = "no-repeat";
// Now some styling to get it to show up in the right spot and show the whole thing.
lga.style.width = "554px";
lga.style.height = "854px";
lga.style.marginRight = "auto";
lga.style.marginLeft = "100px";
lga.style.marginTop = "-350px";
// THIS DOESNOT WORK
GM_addStyle ( `
.google-is-big-brother {
background-image: url("http://blog.loic-simon.fr/wp-content/uploads/2011/05/big-brother-google-is-watching-you.png");
background-repeat: no-repeat;
width: 554px;
height: 854px;
margin-right: auto;
margin-left: 100px;
margin-top: -350px;
}
`
);