Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动态短连接转换后参数清理 #3553

Closed
NightSharp opened this issue Aug 1, 2022 · 1 comment
Closed

动态短连接转换后参数清理 #3553

NightSharp opened this issue Aug 1, 2022 · 1 comment
Labels
adaptation 适配性改动

Comments

@NightSharp
Copy link

对应功能

网址参数清理
Commit: 95fbb00
内部名称: urlParamsClean

问题描述

在移动端动态处复制的分享短链接在电脑上打开时无法完全清除参数,会剩下一个
?share_from=dynamic

脚本版本

v2.3.1-preview

浏览器版本

Firefox 103.0 (64 位)

播放器版本

页面不相关

播放策略

默认

错误信息

Bilibili Evolved plugins block time: 2ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 9ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 
Array(7) [ {…}, {…}, {…}, {…}, {…}, {…}, {…} ]
Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved reply 0 0 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved at 0 0 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved like 0 2 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved sys_msg 0 0 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved user_msg 0 0 Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved 网址参数清理 https://t.bilibili.com/689018771267911700?share_from=dynamic&timestamp=1659289876 https://t.bilibili.com/689018771267911700?share_from=dynamic Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins block time: 2ms for 30 items Bilibili Evolved (Preview).user.js:216:1992
Bilibili Evolved plugins resolve time: 9ms for 30 items Bilibili Evolved (Preview).user.js:216:1992

附加截图

No response

@the1812 the1812 added the adaptation 适配性改动 label Aug 13, 2022
@NightSharp
Copy link
Author

@the1812
新增需要清理的参数,比如这个链接
当前会转换为
https://www.bilibili.com/blackboard/activity-UozDyGvb1K.html?from_module=push-pop&native.theme=1&push_task_id=1540608070&share_from=h5
希望可以转换为
https://www.bilibili.com/blackboard/activity-UozDyGvb1K.html

去掉后面的
?from_module=push-pop&native.theme=1&push_task_id=1540608070&share_from=h5
参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adaptation 适配性改动
Projects
None yet
Development

No branches or pull requests

2 participants