Remove Em Dashes from span and div (Smart Focus)

Recursively remove em dashes and their escape forms from spans and divs. Watches DOM, cleans on page load, and runs every 2 seconds — but only when window is focused. Efficiency, baby.

作者
Shikaku
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.5
建立日期
2025-06-12
更新日期
2025-06-12
尺寸
2.7 KB
授權條款
BSD-4-Clause
腳本執行於

This script simply replaces em dashes, or this character: —, from chatgpt.com to -, hyphens. Due to the way ChatGPT is coded, it also runs every 2 seconds to recheck (it only does this if the tab has focus). Check the code comments if you want to replace the em dash with something else and/or make it work for every site. Updated to also work with the copy button

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址