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

Parameters that cannot be removed from the Bilibili website #751

Closed
DeepChirp opened this issue Jan 19, 2023 · 45 comments
Closed

Parameters that cannot be removed from the Bilibili website #751

DeepChirp opened this issue Jan 19, 2023 · 45 comments
Labels
Account required (Help wanted) When the issues depend on having an active user account for that site Problem report

Comments

@DeepChirp
Copy link
Contributor

Describe the problem below this line as meticulously and detailed as possible (incl. pagelinks if any)

https://www.bilibili.com/video/BV1g24y1h7zc
If the user logs in and opens any video page on Bilibili, then a parameter called vd_source will be added. Although I added the rule ||bilibili.com^$removeparam=vd_source in Actually Legitimate URL Shortener Tool, this parameter still cannot be removed. I'm guessing that some script on the site is at work, so someone who knows about scripting needs to be able to deal with this.

Add screenshots below if needed

No response

Add a screenshot of the extension's logger

No response

Which adblocker(s) did you use when testing this?

uBlock Origin

Adblocker version(s)

No response

Which filterlists did you use? Failing to tell this will temporarily close the report until it has been told.

Actually Legitimate URL Shortener Tool

Which browser(s) did you use when testing this?

Microsoft Edge (Manifest V2)

Browser version(s)

No response

Which OS(s) did you use when testing this?

No response

OS version(s)

No response

@iam-py-test iam-py-test added the Account required (Help wanted) When the issues depend on having an active user account for that site label Jan 19, 2023
@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 19, 2023

I can't sign up as it appears to require a phone number.
My hypothesis is that it uses history.replaceState to change the displayed URL without loading the new page (and thus bypassing any browser extensions).
If you copy and paste the URL into a new tab, is the parameter removed?
That is all speculation, and I probably am wrong.

@DeepChirp
Copy link
Contributor Author

DeepChirp commented Jan 20, 2023

I can't sign up as it appears to require a phone number. My hypothesis is that it uses history.replaceState to change the displayed URL without loading the new page (and thus bypassing any browser extensions). If you copy and paste the URL into a new tab, is the parameter removed? That is all speculation, and I probably am wrong.

possible. Parameters were removed first, then reappeared. For this situation, can we prevent some code in the script from running?
When it is convenient for you, I can provide you with the account number.

@iam-py-test
Copy link
Collaborator

Sorry for the delay. If you feel comfortable with that, you can email it to me at iam-py-test[@]protonmail[.]com
If not, I can try to investigate without an account.

@DeepChirp
Copy link
Contributor Author

Sorry for the delay. If you feel comfortable with that, you can email it to me at iam-py-test[@]protonmail[.]com If not, I can try to investigate without an account.

There may be a time difference between the two of us. It is best when you and I are online at the same time, you send the QR code here, and then I scan it to log in. If you log in directly with account number and password, you also need to verify my mobile phone.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 22, 2023

Sorry for the delay.
I'm in Eastern Timezone, if that matters. I should be available from now to 11:30 (my timezone). Just tell me when you are ready and I can try to login.
If that doesn't work, can you open the Logger, reproduce the issue, and post back with the log?
I'm sorry, but working across timezones is hard

@DeepChirp
Copy link
Contributor Author

Sorry for the delay. I'm in Eastern Timezone, if that matters. I should be available from now to 11:30 (my timezone). Just tell me when you are ready and I can try to login. If that doesn't work, can you open the Logger, reproduce the issue, and post back with the log? I'm sorry, but working across timezones is hard

You can send me the login QR code as soon as you get online today so I'm still online.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 23, 2023

@shenzhiming88 here is the code (I think I did it right)
Code:

It will expire fairly soon though

@DeepChirp
Copy link
Contributor Author

DeepChirp commented Jan 23, 2023

@shenzhiming88 here is the code (I think I did it right) Code:

It will expire fairly soon though

Oh sorry, I just saw that. Please send it again.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 23, 2023

Sorry for the delay

@DeepChirp
Copy link
Contributor Author

DeepChirp commented Jan 23, 2023

Sorry for the delay

Very strange, I scan this QR code and there is no response

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 23, 2023

It timed out.

@iam-py-test
Copy link
Collaborator

Looks like it worked. Thanks

@iam-py-test
Copy link
Collaborator

I see it. Investigating...

@DeepChirp
Copy link
Contributor Author

I see it. Investigating...

OK, I guess some script causes this.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 23, 2023

Off-topic, but does ||bilibili.com^$removeparam=spm_id_from seem to break anything?
It seems to cause "video not found errors" on my end
Right now, I need to get ready for work, but I will look into this later. Sorry

@DeepChirp
Copy link
Contributor Author

Off-topic, but does ||bilibili.com^$removeparam=spm_id_from seem to break anything? It seems to cause "video not found errors" on my end Right now, I need to get ready for work, but I will look into this later. Sorry

This parameter doesn't seem to break anything, at least on my computer.

@iam-py-test
Copy link
Collaborator

Odd. Maybe it has something to do with me using Firefox and you using Edge. Not relevant to this issue, just noticed that.

@DeepChirp
Copy link
Contributor Author

Odd. Maybe it has something to do with me using Firefox and you using Edge. Not relevant to this issue, just noticed that.

However, another script that removes the extra parameters of the web page also includes this parameter, and it seems that no problem report has been seen.
Also, please come back to investigate this issue when you have time.

@iam-py-test
Copy link
Collaborator

I think I have isolated the script responsible, and that completely removing replaceState is the best solution.
Please try this rule and report back:

bilibili.com##+js(set,history.replaceState,noopFunc)

It's not a great rule, but I don't think it breaks anything

@DeepChirp
Copy link
Contributor Author

I think I have isolated the script responsible, and that completely removing replaceState is the best solution. Please try this rule and report back:

bilibili.com##+js(set,history.replaceState,noopFunc)

It's not a great rule, but I don't think it breaks anything

This rule can indeed remove vd_source, but since uBlock cannot remove the parameters of the video link opened from the recommendation bar on the right, I used a script using the replaceState method. This rule will cause the script to fail. I don't think there is a good way to handle this.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Jan 24, 2023

Ok, thanks.
I will see if there is a better solution. I have been busy this week, but will try to figure this out soon

@DandelionSprout
Copy link
Owner

Can you (Mostly shenzhiming) post an instance of what a URL with vd_source in it looks like? For example https://www.bilibili.com/video/BV1g24y1h7zc/?vd_source=johnmadden?

@DeepChirp
Copy link
Contributor Author

Can you (Mostly shenzhiming) post an instance of what a URL with vd_source in it looks like? For example https://www.bilibili.com/video/BV1g24y1h7zc/?vd_source=johnmadden?

This parameter is related to the user's personal information, so I found a example on the Internet: https://www.bilibili.com/video/BV1WZ4y1v7pq/?spm_id_from=333.337.search-card.all.click&vd_source=a0a2bf40b0c968029d22c1cceee21c53
(from https://nga.178.com/read.php?tid=34162479&rand=263)

@DandelionSprout
Copy link
Owner

DandelionSprout commented Mar 5, 2023

Hmm… seems like uBlock Origin successfully removes vd_source from that link when I'm not logged in. So I have limited ideas on how to fix this.

Does the problem remain if you use these entries in User Filters (For almost every non-inline script I could find on the page that didn't break something)?

*/log/$domain=bilibili.com
||cm.bilibili.com^$all
/bili-collect.js$all
||bilibili.com^*/data/collector^$all
||boss.hdslb.com^$all
||bilibili.com/x/click-interface^$all
||bilibili.com/*/is_forbid^$all
||bilibili.com/*/log-reporter.js$all
*/laputa-header/$all
||hdslb.com/*/pcdn-$all
||hdslb.com/*/nc-loader-$all

@DeepChirp
Copy link
Contributor Author

Hmm… seems like uBlock Origin successfully removes vd_source from that link when I'm not logged in. So I have limited ideas on how to fix this.

Does the problem remain if you use these entries in User Filters (For almost every non-inline script I could find on the page that didn't break something)?

*/log/$domain=bilibili.com
||cm.bilibili.com^$all
/bili-collect.js$all
||bilibili.com^*/data/collector^$all
||boss.hdslb.com^$all
||bilibili.com/x/click-interface^$all
||bilibili.com/*/is_forbid^$all
||bilibili.com/*/log-reporter.js$all
*/laputa-header/$all
||hdslb.com/*/pcdn-$all
||hdslb.com/*/nc-loader-$all

Still exists. This seems difficult to deal with.

@iam-py-test
Copy link
Collaborator

iam-py-test commented Mar 5, 2023

This is caused by the vf function on line 197 of https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js. I haven't found a way to touch that with scriptlets, and blocking the entire script or overwriting history.replaceState breaks the page.

Trace replaceState blob:https://www.bilibili.com/744c15ef-0e23-4c0e-9f6a-7c04d75fdde2:5 (this line can be ignored)
ht https://s1.hdslb.com/bfs/static/jinkela/long/js/sentry/sentry-5.7.1.min.js:2
vf https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
mf https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
replace https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
transitionTo https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
confirmTransition https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
f https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
f https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
gf https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
confirmTransition https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
f https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
yf https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
f https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
gf https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
confirmTransition https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
transitionTo https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
replace https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
replace https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
e https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
p https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
O https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
x https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
s https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
(Async: promise callback)
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
s https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
checkLoginInfoForHeaderV3 https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
e https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
p https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
O https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
x https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
s https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
init https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
e https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
p https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
O https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
x https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:190
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
s https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
(Async: promise callback)
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
s https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
exports https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
mounted https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
Bn https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
an https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
insert https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
S https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
ga https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
_update https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
r https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
get https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
t https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
mount https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
$mount https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
$mount https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:7
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
onReady https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
onReady https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:197
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:180
n https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1
https://s1.hdslb.com/bfs/static/jinkela/video/stardust-video.366216d83af1f0d17e2505f09cab46978fafc9c1.js:1

@KamiyaMinoru
Copy link

I tried
https://www.bilibili.com/video/*/?spm_id_from=* redirector=https://www.bilibili.com/video/$1?vd_source=0
but it do not help redirect even not remove spm_id_from

@iam-py-test
Copy link
Collaborator

@iam-py-test
Copy link
Collaborator

I have made a (kind-of poorly made) extension which should fix this issue. It's barely been tested, and isn't great code, and I am not extremely happy asking people to install a separate extension just for this (maybe there's still a way to prevent this from happening, or something a custom uBo scriptlet can do?), so buyer beware. Also needs to be loaded as a dev mode extension in FF/Chrome
https://github.com/iam-py-test/bilibili-url-clean

@KamiyaMinoru
Copy link

https://www.bilibili.com/video/*/?spm_id_from=* redirector=https://www.bilibili.com/video/$1?vd_source=0

In ClearURLs or uBlock Origin?

ubo

@iam-py-test
Copy link
Collaborator

ubo

This is not supported in uBo.

@iam-py-test
Copy link
Collaborator

@shenzhiming88 can you try adding this to your user resources location in uBo, and then add this to "My filters":

bilibili.com##+js(replace-state-clean,vd_source)

It's still not pretty (I would have preferred a solution which works in default uBo & in AdGuard), but it's far better than the extension.

@KamiyaMinoru
Copy link

@shenzhiming88 can you try adding this to your user resources location in uBo, and then add this to "My filters":

bilibili.com##+js(replace-state-clean,vd_source)

It's still not pretty (I would have preferred a solution which works in default uBo & in AdGuard), but it's far better than the extension.

Thanks but not work at all.

@iam-py-test
Copy link
Collaborator

Can you go to the uBlock Origin settings (I assume you are using uBlock Origin, correct me if I am wrong), enable advanced user settings, click the gear option, and set userresourceslocation to https://raw.githubusercontent.com/iam-py-test/bilibili-url-clean/main/scriptlet.js

@KamiyaMinoru
Copy link

Can you go to the uBlock Origin settings (I assume you are using uBlock Origin, correct me if I am wrong), enable advanced user settings, click the gear option, and set userresourceslocation to https://raw.githubusercontent.com/iam-py-test/bilibili-url-clean/main/scriptlet.js

image
image

this one not work

@iam-py-test
Copy link
Collaborator

@KamiyaMinoru
Copy link

Can you also install https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt as a filterlist

Hi thanks... I will consider (for I can just use a script to close it in tampermonkey, instead of couples install...)
by the way, if I want to remove param etc from copying bilibili (via the share button), do you also have suggestion?

@iam-py-test
Copy link
Collaborator

by the way, if I want to remove param etc from copying bilibili (via the share button), do you also have suggestion?

Sadly, no.

@DeepChirp
Copy link
Contributor Author

@shenzhiming88 can you try adding this to your user resources location in uBo, and then add this to "My filters":

bilibili.com##+js(replace-state-clean,vd_source)

It's still not pretty (I would have preferred a solution which works in default uBo & in AdGuard), but it's far better than the extension.

Yes, this rule does not work.

@iam-py-test
Copy link
Collaborator

Sorry, my instructions weren't very clear. You need to check "I am an advanced user" -> click on the gear icon -> set userResourcesLocation to https://raw.githubusercontent.com/iam-py-test/bilibili-url-clean/main/scriptlet.js
Then that scriptlet should be valid.

@DandelionSprout
Copy link
Owner

DandelionSprout commented Oct 8, 2023

Was any sort of consensus on a fix ever reached? If not, it'd probably sadly be time to declare it a closed case.

@iam-py-test
Copy link
Collaborator

As far as I am aware, the only solution was a custom scriptlet. But if someone smarter wants to take a crack it, there may be another way.

@DeepChirp
Copy link
Contributor Author

I'm sorry I've been missing this message before. I just tried doing this, but the extra parameters still exist unless the webpage is refreshed.

piquark6046 pushed a commit to AdguardTeam/AdguardFilters that referenced this issue Oct 24, 2023
@DandelionSprout
Copy link
Owner

Comments will remain open indefinitely, but I feel the time has arrived for me to get the number of open issues on the top bar of the repo to 0 again.

@KamiyaMinoru
Copy link

by the way, if I want to remove param etc from copying bilibili (via the share button), do you also have suggestion?順便問一下,如果我想從複製bilibili中刪除param等(透過分享按鈕),你還有建議嗎?

Sadly, no. 可悲的是沒有。

my solution: I installed mouse gesture and call a js to detect/modify/remove nonnecessary params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account required (Help wanted) When the issues depend on having an active user account for that site Problem report
Projects
None yet
Development

No branches or pull requests

4 participants