M365 Copilot Bulk Delete

Bulk delete chats in M365 Copilot

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
php w
Günlük kurulumlar
0
Toplam kurulumlar
1
Değerlendirmeler
0 0 0
Versiyon
1.2
Oluşturulma
22.04.2026
Güncellenme
22.04.2026
Boyut
8,84 KB
Lisans
MIT
Geçerli

📖 Overview

Allow bulk deleting selected chats in M365 Copilot web.

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 = {
        // Universal Filter: Selects the row ONLY IF it contains the chat menu item button
        chatRow: 'div.fai-CopilotNavSubItemGroup div.fui-SplitNavItem:has(button[aria-roledescription="Menu item"])',
        // The main button containing the ID
        chatBtn: 'button[aria-roledescription="Menu item"]',
        // The "More" button (sibling of chatBtn)
        moreBtn: '.fai-SplitCopilotNavItem__menuButton',
        // Language-proof: Targets the menu item immediately following the visual divider
        dropdownDelete: 'div[role="separator"] + div[role="menuitem"]',
        // Language-proof: Targets the final confirm button that lacks the restorer attribute
        modalConfirm: '.fui-DialogActions button:not([data-tabster])',
        // Target for the "Select All" UI
        selectAllTarget: 'div.___13wxke1.f1xg1ack.f15twtuk.f19g0ac.fxugw4r',


    };
  • The CSS selectors that may require manual changes depending on your account/browser/language
    • selectAllTarget

❓ 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.