GitHub - nckclrk/rm-em-dashes

1 min read Original article ↗

Em Dash Remover Chrome Extension

A Chrome extension that removes em dashes (—) from ChatGPT pages and replaces them with appropriate punctuation.

Features

  • Automatically removes em dashes from chatgpt.com pages
  • Replaces them using regex patterns:
    • Paired dashes → commas
    • Introducers → colons
    • Appositive tails → colons
    • Trailing breaks → periods
    • Fallback single dashes → semicolons
  • Toggle on/off via extension popup

Installation

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable "Developer mode" in the top right
  3. Click "Load unpacked"
  4. Select the rm-em-dash directory
  5. The extension should now be active

Usage

  1. Navigate to chatgpt.com
  2. The extension is enabled by default
  3. Click the extension icon to toggle it on/off
  4. When disabled, reload the page to restore original content