NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @id google.maps
// @name Google Maps | Clean - Screenshot-able
// @version 2.3.1
// @icon http://puu.sh/debNA
// @namespace amzma@deviantart.com
// @author AMZMA
// @description Show or Hide Blablablast on Google Maps | Based on this userstyle https://userstyles.org/styles/107788
// @downloadURL https://openuserjs.org/install/AMZMA/Google_Maps_Clean_-_Screenshot-able.user.js
// @include https://www.google.*/maps
// @include https://www.google.*/maps?*
// @include https://www.google.*/maps/*
// @require http://code.jquery.com/jquery-1.10.1.min.js
// @homepage http://goo.gl/QeDPY0
// @homepage Teras
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
$(document).ready(function() {
var delay = function () {
if ($('.onegoogle:hidden')) {$('.onegoogle').show();}
var css = $('#content-container>div:not(#scene), #scene>div:not(.widget-scene), #showHideBlacklist, #blTop, #watermark');
$("body").append('<div id="Induk" title=" Toggle = Alt+C (Left Click)\r\nHide All = Alt+V (Middle Click)" alt=" Toggle = Alt+C (Left Click)\r\nHide All = Alt+V (Middle Click)"><div id="ShowHide">Toggle</div><div id="Bawah"></div></div>');
$(document).keyup(function (e) {
if (e.altKey && e.keyCode == 67) {
css.toggle();
return false;
}else if (e.altKey && e.keyCode == 86) {
css.hide();
return false;
}
});
$("#Induk").bind('mousedown', function(e) {
if( (e.which == 1) ) {
css.toggle();
}else if( (e.which == 2) ) {
css.hide();
}
return false;
});
GM_addStyle("#ShowHide{background-color:#BD362F;top:0;left:0;right:0;margin:auto;width:50px;padding:3px 5px 5px;border-radius:0 0 5px 5px;text-align:center;color:#fff;position:relative;font-family:arial narrow;font-weight:700;} \
#Bawah{background-color:#BD362F;border-radius:0 0 10px 10px;padding-bottom:10px;top:0;left:0;right:0;margin:auto;width:20px;position:relative;} \
#Induk{margin-top:-30px;z-index:999999!important;-moz-transition:all .3s ease-in-out 0s;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s;} \
#Induk:hover{margin-top:-5px;-moz-transition:all .3s ease-in-out 0s;-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s;}");
};
setTimeout(delay, 5000);
});
// 2014.12.03 - AMZMA