Discord History Tracker BETA v.16a | Release Notes

Discord History Tracker is a browser script that lets you locally save chat history in your servers, groups, and private conversations.

When the script is active, it will load history of the selected text channel up to the first message, and let you download it for offline viewing in your browser.

How to Save History

Running the Script

Option 1: Userscript

Preferred option. Requires a browser addon, but DHT will stay up-to-date and be easily accessible on the Discord website.

  1. Install a userscript manager addon:
    • Violentmonkey (Chrome)
    • Tampermonkey (Firefox, Edge, Chrome, Opera)
    • Due to browser bugs / limitations, DHT will not work in Firefox with Greasemonkey / Violentmonkey, and in Safari at all
  2. Click Install Userscript to prompt an installation into the userscript manager
  3. Open Discord, and view any server, group, or private conversation (it will not appear in Friends list)
  4. Click DHT in the top right corner:

Option 2: Browser Console

The console is the only way to use DHT directly in the desktop app.

  1. Click Copy to Clipboard to copy the script
  2. Press Ctrl+Shift+I in your browser or the Discord app, and select the Console tab
  3. Paste the script into the console, and press Enter to run it
  4. Press Ctrl+Shift+I again to close the console

Your browser may not support copying to clipboard, please try copying the script manually:

Option 3: Bookmarklet

Requires Firefox 69 or newer.

  1. Right-click Discord History Tracker
  2. Select «Bookmark This Link» and save the bookmark
  3. Open Discord and click the bookmark to run the script

Old Versions

Whenever DHT is fixed to work with a recent Discord update, it will no longer work on the previous version of Discord.

If you haven't received that Discord update yet, see Release Notes for information about recent updates, and Old Versions if you need to use an older version of DHT.

Using the Script

When running for the first time, you will see a Settings dialog where you can configure the script. These settings will be remembered as long as you don't delete cookies in your browser.

By default, Discord History Tracker is set to pause tracking after it reaches a previously saved message to avoid unnecessary history loading. You may also set it to load all channels in the server or your friends list by selecting Switch to Next Channel.

Once you have configured everything, upload your previously saved archive (if you have any), click Start Tracking, and let it run. After the script saves all messages, download the archive.

How to View History

Download the Viewer, open it in your browser, and load the archive. By downloading it to your computer, you can view archives offline, and allow the browser to load image previews that might otherwise not load if the remote server prevents embedding them.

External Links

Disclaimer

Discord History Tracker and the viewer are fully client-side and do not communicate with any servers – the terms 'Upload' and 'Download' only refer to your browser. If you close your browser while the script is running, all unsaved progress will be lost.

Please, do not use this script for large or public servers. The script was made as a convenient way of keeping a local copy of private and group chats, as Discord is currently lacking this functionality.