mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add block params
This commit is contained in:
parent
85b8319693
commit
09d4d72eb2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -173,7 +173,7 @@
|
||||
"trending-videos.min.js": "CBD579F9C07B5B612B50C1522F05CD8B49AE9E1F47BB95896FE91BB032656FB1",
|
||||
"trending-videos.vue.min.js": "B58FA3AE73BA8CCB7AE3256A6AEAE6A71D25D3D0B58370067CD1D79A329FA8AE",
|
||||
"tweets.min.css": "9015C1F165C91B9205ABBE4E8A3B5FA83DB1EB4B5CF2442846AF61E44FF178A8",
|
||||
"url-params-clean.min.js": "614616E836F4F92ADB446F91F32177BDE78290CF552F00E210C939B0B0B4DFC9",
|
||||
"url-params-clean.min.js": "E7AF082E6413087279654A43FA78A1855B359817256685417DF0B06C0A1789E3",
|
||||
"v-checkbox.vue.min.js": "A23C35D5627009A29FD396A024442A19E37DEE70674BF3CE0FA377D781ED2231",
|
||||
"v-dropdown.vue.min.js": "D26B4A74515F53A34A3CB0590FC9683476D99FBBBB9647FDFCBF33E265C3F662",
|
||||
"video-card.vue.min.js": "9EBC38E9F9CD6BDE3CC031BB88F6447EB29E7D8A2E7C32159D7BDC6CFD956D74",
|
||||
|
||||
BIN
min/bundle.zip
BIN
min/bundle.zip
Binary file not shown.
2
min/url-params-clean.min.js
vendored
2
min/url-params-clean.min.js
vendored
@ -1 +1 @@
|
||||
(()=>{return(e,t)=>{const o=["spm_id_from","from_source","from","seid"];const r=()=>{const e=location.search.substring(1).split("&");const t=e.filter(e=>{if(o.some(t=>e.startsWith(`${t}=`))){return false}return true});if(e.length!==t.length){const e=t.join("&");const o=document.URL.replace(location.search,e?"?"+e:"");console.log("[URL params clean]",document.URL,o);history.replaceState({},document.title,o)}};Observer.videoChange(()=>r())}})();
|
||||
(()=>{return(e,t)=>{const o=["spm_id_from","from_source","from","seid","share_source","share_medium"];const r=()=>{const e=location.search.substring(1).split("&");const t=e.filter(e=>{if(o.some(t=>e.startsWith(`${t}=`))){return false}return true});if(e.length!==t.length){const e=t.join("&");const o=document.URL.replace(location.search,e?"?"+e:"");console.log("[URL params clean]",document.URL,o);history.replaceState({},document.title,o)}};Observer.videoChange(()=>r())}})();
|
||||
@ -3,6 +3,8 @@ const blockParams = [
|
||||
'from_source',
|
||||
'from',
|
||||
'seid',
|
||||
'share_source',
|
||||
'share_medium',
|
||||
]
|
||||
const clean = () => {
|
||||
const urlParams = location.search.substring(1).split('&')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user