Google search AI mode Bulk Delete

Bulk delete chats in Google search AI mode

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
php w
Instalări zilnice
0
Total instalări
5
Rating-uri
0 0 0
Versiune
2.2
Creat
14-04-2026
Actualizat
06-05-2026
Size
9,1 KB
Licență
MIT
Se aplică pe

📖 Overview

Allow bulk deleting selected chats in Google search AI mode.

Not work in Chrome as hardcoded, detail please see this thread

Maintenance Note: This script is for personal usage and will not be actively maintained or updated.


🛠️ How it works

  1. Opt the check box for the chats you want to delete
  2. Click "Confirm Bulk Delete"
  3. Wait until deletion process finishes

⚙️ Settings

CSS selectors may need to be modified to adapt your account/browser/language

  • Overview of all CSS selectors used in the script:
    const SELECTORS = {
        chatItem: 'li.j8c53', // The container for each chat entry
        chatInnerDiv: 'div.u987h', // The inner wrapper where we inject checkboxes
        activeChatIndicator: '.cp7uzb', // The additional class that identifies the active chat's inner wrapper
        chatTitle: '.ik7Yc', // The span containing the actual text title of the chat
        mainChatBtn: 'button[data-thread-id]', // The button that holds the unique thread ID
        moreBtn: 'button.fMed7', // The 3-dot "More" options button
        dropdownDeleteBase: 'button.w7Y0zd', // The base class for the global delete button in the dropdown
        modalConfirm: 'button[jsaction*="OUPLLd"]:not([data-ved])', // The final "Delete" confirmation button in pop-up window
        selectAllTarget: 'div.wueeq[role="heading"][aria-level="2"]' // Where to inject the "Select All" UI
    };
  • The CSS selectors that may require manual changes depending on your account/browser/language (Though I have tested with two accounts and two browsers, and they seems not depending):
    • chatItem
    • chatInnerDiv
    • activeChatIndicator
    • chatTitle
    • moreBtn
    • dropdownDeleteBase
    • modalConfirm

❓ FAQ

How do I find the CSS selector?

  1. Locate the target element on the page.
  2. Right-click > Inspect.
  3. In the DevTools window, right-click the highlighted element.
  4. Select Copy > Copy CSS selector.

🙏 Acknowledgments

  • AI assistance: this script was developed with the assistance of Gemini.
  • Inspiration: Gemini Bulk Delete

⚖️ Disclaimer

This script was developed with AI assistance. While tested, unforeseen issues or bugs may exist. Users assume all risks associated with using this script. The author is not responsible for any direct or indirect losses resulting from its use. Please comply with local laws and regulations.