你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/539178-remove-em-dashes-from-span-and-div-smart-focus,源站連結 點此以跳轉

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.



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/539178/Remove%20Em%20Dashes%20from%20span%20and%20div%20%28Smart%20Focus%29.user.js

安装此脚本?
作者
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