Skip to content

Instantly share code, notes, and snippets.

@runxel
Last active October 4, 2023 09:13
Show Gist options
  • Save runxel/b23f77e0f9f7d06ccd1cb74392a92fd6 to your computer and use it in GitHub Desktop.
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.
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; };})();
@runxel
Copy link
Author

runxel commented May 8, 2020

Inspired by and based on Dave Maps bookmarklet version, sadly not updated in a while and not working any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment