This Firefox add-on extracts Slack tokens (XOXC and XOXD) from your Slack workspace.
- Clone the repository:
git clone https://github.com/maorfr/slack-token-extractor.git cd slack-token-extractor/firefox - Open Firefox and go to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on..."
- Select the
manifest.jsonfile in thefirefoxdirectory - Visit your Slack workspace (e.g.,
https://your-workspace.slack.com) - Click the extension icon in the Firefox toolbar to view your tokens
- The add-on reads your Slack
localStorageand cookies to extract the XOXC and XOXD tokens. - Tokens are displayed in the popup when you click the extension icon.
- Tokens are only stored locally in your browser's extension storage.
- Never share your tokens.
- If you don't see the extension icon, check the Extensions (puzzle piece) menu and pin it to the toolbar.
- If tokens do not appear, ensure you are logged in to Slack and have visited your workspace in the current tab.
- If you see errors about
background.service_worker, make sure you are using the Manifest V2 version (as provided here).