Skip to content

It provides a simple JavaScript script designed to streamline the deletion of Slack direct messages

License

Notifications You must be signed in to change notification settings

PavelVais/slack-dms-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Slack Direct Message Deletion Script

This script streamlines the process of deleting your own messages in Slack by automating the necessary steps in the web client. It requires no admin privileges, no API access, and works directly in the browser's developer console.

Key Features

  • No Admin Privileges Required: Works entirely within the Slack web client.
  • No API Access Needed: No API tokens or special configurations are required.
  • Simple and Lightweight: Copy, paste, and run the script directly in your browser.

How to Use

Step 1: Open the Slack Web Client

Ensure you are using Slack in a web browser (e.g., Chrome, Edge, Firefox).

Step 2: Activate the Developer Console

Windows:

  • Press Ctrl+Shift+I or F12 to open Developer Tools.

Mac:

  • Press Cmd+Option+I to open Developer Tools.

Important Note for First-Time Users:

When you open the console for the first time, your browser may display a warning about pasting scripts. Read and accept the warning to proceed.

Step 3: Paste and Run the Script

  1. Copy the script from index.js.
  2. Open the Console tab in Developer Tools.
  3. Paste the script and press Enter to activate it.

Step 4: Deleting Messages

  1. Click on a message or attachment that you want to delete.
  2. The script will trigger and automatically delete the message.

Limitations

  • You Can Only Delete Your Own Messages: The script only works for messages sent by your account.

Disclaimer

This script is for personal use and development purposes only. Use it responsibly and ensure compliance with Slack's terms of service. The author assumes no liability for misuse or any consequences arising from the use of this script.

About

It provides a simple JavaScript script designed to streamline the deletion of Slack direct messages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published