Grok Code Style with Collapse

Shrink, collapse, compact, and download pre/code blocks on Grok pages with multi-language support

目前为 2025-03-15 提交的版本。查看 最新版本

作者
Tau Chaung
评分
0 0 0
版本
1.8
创建于
2025-03-15
更新于
2025-03-15
大小
4.8 KB
许可证
MIT
适用于

Usage Notes:
1. This script is designed for specific Grok-related sites (x.com/i/grok, grok.com, grok.x.ai, x.ai) only; avoid enabling it on other sites to prevent interference.
2. The script checks for code blocks every 2 seconds, which may slightly increase performance load on code-heavy pages. Adjust the interval if needed.
3. The download feature saves plain text content only, without formatting or styles.
4. If lag or issues occur, disable the script and report the specific page and problem.
5. Multi-language support switches based on browser language; unlisted languages default to English.

Disclaimer:
"Grok Code Style with Collapse" (hereinafter "this script") is developed by an individual and released under the MIT License to enhance the code block experience on Grok-related webpages. This script is provided "as is" without any warranties, express or implied, including but not limited to merchantability, fitness for a particular purpose, or non-infringement. The author is not liable for any direct, indirect, incidental, special, or consequential damages arising from the use of this script, including but not limited to performance degradation, data loss, or browser issues. Users assume all risks and should test its stability and suitability before installation. For issues or suggestions, please contact the author.
---------------------------------------------------------------------------------------------------------------

使用注意事項:
1. 本腳本僅適用於指定 Grok 相關網站(x.com/i/grok、grok.com、grok.x.ai、x.ai),請勿在其他網站啟用以避免干擾。
2. 腳本每 2 秒檢查代碼塊,可能在代碼密集頁面略增效能負擔,建議根據需求調整檢查間隔。
3. 下載功能僅保存純文字內容,不包含格式或樣式。
4. 若發現卡頓或異常,請停用腳本並反饋具體頁面與問題。
5. 多語言支援依瀏覽器語言自動切換,未列語言默認為英文。

免責聲明:
「Grok Code Style with Collapse」(以下簡稱「本腳本」)由個人開發者製作並以 MIT 許可證發布,旨在提升 Grok 相關網頁的代碼塊使用體驗。本腳本按「現狀」提供,不附帶任何明示或暗示的保證,包括但不限於適銷性、特定用途適用性或非侵權性的保證。作者不對因使用本腳本導致的任何直接、間接、附帶、特殊或後果性損害承擔責任,包括但不限於效能下降、數據丟失或瀏覽器異常。使用者自行承擔使用風險,並應在安裝前測試其穩定性與適用性。如有問題或建議,請聯繫作者。

QingJ © 2025

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