[Rules Update] Bilibili
Prerequisites
-
Are you sure that this rule only prevents tracking? -
Are you sure that this rule does not destroy the function of the page?
Description
Updating the rules for bilibili
Note: This issue includes the rules indicated here, but I will merge all needed rules in this issue.
Affected fields
Rules for live.bilibili.com only:
- broadcast_type
- is_room_feed
Rules for m.bilibili.com only:
- bbid
- ts
Rules applied to the whole bilibili.com:
- callback
- spm_id_from
- from_source
- from
- seid
- share_source
- msource
- refer_from
- share_medium
- share_source
- share_plat
- share_tag
- timestamp
- unique_k
- share_session_id
- share_tag
Note: Exceptions should be applied with: ".*(api\\.bilibili\\.com)\\/.*" in the rules for bilibili.com. Meanwhile, the parameters include: callback, spm_id_from, from_source, from, seid, should already in the current ruleset.
Example URL
- (Generated by iOS app) https://live.bilibili.com/123456?broadcast_type=0&is_room_feed=0&share_medium=iphone&share_plat=ios&share_session_id=uuiduuiduuiduuid&share_source=COPY&share_tag=s_i×tamp=123456789&unique_k=TRACKID
- https://live.bilibili.com/5050?visit_id=d48hyiwjnlq
- https://show.bilibili.com/platform/home.html?msource=pc_web
- https://manga.bilibili.com/detail/mc25717?refer_from=bili_main_nav
- https://b23.tv/nyvZhb -> https://www.bilibili.com/video/BV195411W7q7?p=1&share_medium=android&share_plat=android&share_source=COPY&share_tag=s_i×tamp=1593654660&unique_k=nyvZhb (Note: p=1 is not AD info, it stands for what part of the vid should be played. b23.tv is Bilibili's official shortened URL domain.)
- https://live.bilibili.com/5050?session_id=05516821-7236-477D-99EA-261C989C3EE4
- (Generated by old app) https://m.bilibili.com/video/av926139391.html?share_medium=android&share_source=copy_link&bbid=XY13C351B51C142653223B4E4A2E98EF4C37A&ts=1681865745711
Edited by Sion Kazama