网页里面将文本保存成文件并直接下载

网页下载文本

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/474124/1242495/%E7%BD%91%E9%A1%B5%E9%87%8C%E9%9D%A2%E5%B0%86%E6%96%87%E6%9C%AC%E4%BF%9D%E5%AD%98%E6%88%90%E6%96%87%E4%BB%B6%E5%B9%B6%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD.js

Author
Leo Chan
Version
1.0.3
Created
2023-08-29
Updated
2023-08-29
License
GPLv2

网页里面将文本保存成文件并直接下载

如果有什么疑问,可以到https://leochan.me一起交流

使用方法很简单: webPageDownloadTextFile(文本内容, 文件名)