Last active
October 4, 2023 09:13
-
-
Save runxel/b23f77e0f9f7d06ccd1cb74392a92fd6 to your computer and use it in GitHub Desktop.
Clean your Google Maps and Google Streetview for better exploring. Use it as a bookmarklet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { var ids = ["titlecard", "omnibox-container", "vasquette", "assistive-chips", "watermark", "image-header"]; var hidden = (window.getComputedStyle(document.getElementById(ids[0]))).getPropertyValue("display"); if (hidden !== "none") { var disp = "none"; document.getElementsByClassName('app-viewcard-strip')[0].style.visibility = 'hidden'; } else { var disp = ""; document.getElementsByClassName('app-viewcard-strip')[0].style.visibility = ''; }; for (var i = 0; i < ids.length; i++) { document.getElementById(ids[i]).style.display = disp; };})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inspired by and based on Dave Maps bookmarklet version, sadly not updated in a while and not working any longer.