Skip to content

Conversation

@cyfung1031
Copy link
Collaborator

概述 Descriptions

变更内容 Changes

截图 Screenshots

@cyfung1031 cyfung1031 force-pushed the pr-package-update-004 branch 7 times, most recently from bf5980b to 45de1cc Compare November 7, 2025 13:39
@cyfung1031 cyfung1031 marked this pull request as draft November 7, 2025 14:34
@cyfung1031 cyfung1031 force-pushed the pr-package-update-004 branch 3 times, most recently from c39fb30 to c2e36db Compare November 7, 2025 15:02
@cyfung1031 cyfung1031 marked this pull request as ready for review November 7, 2025 15:10
CodFrm and others added 4 commits November 8, 2025 10:40
* 重构 `GM_xmlhttpRequest` 及相关代码

* 刪無用代碼

* mock修正

* 重构 `GM_donwload`

* GM_download: 跟随TM,改使用 fetch

* `GM_download` 代码修正

* `GM_download` 代码调整

* `GM_xmlhttpRequest` 修正 `context`;`GM_download` 新增 `context`, `user`, `password`

* 代码调整,避免参考无法GC回收

* 支持 `binary: true`

* 添加单元测试

* 定义成常量赋予含义

* 不用可以直接删

* 没地方引用dealXhrResponse了,可以直接删

* 修正response空值问题

* 新增 GM xhr API 黑名单判断 (与TM一致)

* 单元测试更改成 concurrent

* 单元测试代码调整

* FF兼容调整

* FF兼容调整

* 代码清理一下

* 整理单元测试mock

* 整理代码结构

* 删除byPass逻辑,避免饶过的可能

* 通过单元测试

* 改善了reqID关联的代码设计

* typescript 要 return undefined

* 修正 lastNwReqTriggerTime

* 修正

* 中文注释

中文注释

* 删旧代码

* 抽出成 generateUniqueMarkerID

* 中文注释

* 修正错误处理

* 异常处理: nwReqExecute 过时处理

* 时间值条件修改

* 勉强无幸福,只好退回

* 整理结构

* 测试脚本

* 整理

* 整理定义

* 整理fetch xhr

* 整理

* 删除不使用的方法

---------

Co-authored-by: 王一之 <[email protected]>
@cyfung1031 cyfung1031 force-pushed the pr-package-update-004 branch from f33b5d5 to 955b9b7 Compare November 15, 2025 09:42
@cyfung1031 cyfung1031 changed the title package 更新 package 版本更新 Nov 15, 2025
@CodFrm CodFrm changed the base branch from main to release/v1.3 November 15, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants