Hide Google AI Overview

Hides the Google AI Overview section

  1. // ==UserScript==
  2. // @name Hide Google AI Overview
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.13
  5. // @description Hides the Google AI Overview section
  6. // @author Drewby123
  7. // @match *://www.google.com/*
  8. // @license MIT
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const hideDiv = () => {
  16. document.querySelectorAll('div').forEach(div => {
  17. if (div.classList.contains('bzXtMb') || div.classList.contains('M8OgIe')) {
  18. div.style.display = 'none';
  19. }
  20. });
  21. };
  22.  
  23. document.addEventListener('DOMContentLoaded', hideDiv);
  24. new MutationObserver(hideDiv).observe(document.body, { childList: true, subtree: true });
  25. })();
  26.  

QingJ © 2025

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