GeoGuessr Hide Footprint

Hides GeoGuessr Footprint - This mean we can't see the author of the photo in the location we on.

当前为 2019-11-30 提交的版本,查看 最新版本

// ==UserScript==
// @name         GeoGuessr Hide Footprint
// @namespace    https://greasyfork.org/en/users/250979-mrmike/
// @version      0.1
// @description  Hides GeoGuessr Footprint - This mean we can't see the author of the photo in the location we on.
// @author       MrAmericanMike
// @include      /^(https?)?(\:)?(\/\/)?([^\/]*\.)?geoguessr\.com($|\/.*)/
// @grant        none
// @run-at       document-start
// ==/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.replace(/;/g, ' !important;');
    head.appendChild(style);
}


addGlobalStyle(`

/* Map at size 0 and active (Hoover) */
.gmnoprint, .gm-style-cc{
	display: none;
}

`);