优化 Greasy Fork镜像,在标题旁显示脚本图标,添加用于评论/描述的 HTML 工具栏,并在代码页面添加按钮以直接下载 “.user.js” 文件。还通过元数据增强页面,包括作者自定义的主题颜色、版权信息和社交图标等功能。
这些是此脚本的所有版本。 只显示代码变更过的版本。
Version 1.4 represents a major evolution from 1.3, shifting the focus from a Markdown-based editor to a full HTML editor. This update introduces new features, improves user interactivity, and offers much richer control over content formatting.
1. Migration from Markdown to HTML: The most significant change is the replacement of Markdown syntax with HTML syntax. While version 1.3 generated markups like **bold** and *italic*, version 1.4 now generates the corresponding HTML tags, such as <strong>bold</strong> and <em>italic</em>. This allows for more robust and web-compatible formatting.
**bold**
*italic*
<strong>bold</strong>
<em>italic</em>
2. Enhanced User Interface with Custom Dialog Boxes:
prompts
showCustomPrompt
showCustomAlert
3. New Features and Editing Tools:
<details>
<center>
<hr>
4. User Experience (UX) Improvements:
Tab
Shift + Enter
<br>
try-catch
New Functions:
showCustomAlert(message)
showCustomPrompt({ inputs, onConfirm })
showInfoModal()
Updated Functions (createTextStyleEditor):
createTextStyleEditor
##
<h1...6>
<ul>
<ol>
<li>
<blockquote>
prompt()
textarea
keydown
Fixing dependency issues
Significant visual improvements to the page
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址