Google Maps RAP Helper

Provides enhancements to the Report a Problem workflow on Google Maps.

当前为 2025-08-12 提交的版本,查看 最新版本

// ==UserScript==
// @name         Google Maps RAP Helper
// @namespace    https://github.com/gncnpk/google-maps-rap-helper
// @version      0.0.1
// @description  Provides enhancements to the Report a Problem workflow on Google Maps.
// @author       Gavin Canon-Phratsachack (https://github.com/gncnpk)
// @match        https://www.google.com/local/place/rap/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=google.com/maps
// @grant        none
// @run-at       document-start
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    const style = document.createElement('style');
    style.textContent = `
    .bXBVC {
      width: auto !important;
    }
    .VrVhlb {
      padding: 5px 0 !important;
    }
    .oUMFGb {
      padding-bottom: 0 !important;
    }
  `;
    document.head.appendChild(style);

    function removeClutteredElements() {
        Array.from(document.getElementsByClassName("oUMFGb")[0].children).slice(0,2).forEach((e) => {e.style = "display:none;"})
        document.getElementsByClassName("oUMFGb")[3].children[0].style = "display: none;"
        document.getElementsByClassName("oUMFGb")[4].children[0].style = "display: none;"
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址