Skip to content

[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:

  1. broadcast_type
  2. is_room_feed

Rules for m.bilibili.com only:

  1. bbid
  2. ts

Rules applied to the whole bilibili.com:

  1. callback
  2. spm_id_from
  3. from_source
  4. from
  5. seid
  6. share_source
  7. msource
  8. refer_from
  9. share_medium
  10. share_source
  11. share_plat
  12. share_tag
  13. timestamp
  14. unique_k
  15. share_session_id
  16. 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

  1. (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&timestamp=123456789&unique_k=TRACKID
  2. https://live.bilibili.com/5050?visit_id=d48hyiwjnlq
  3. https://show.bilibili.com/platform/home.html?msource=pc_web
  4. https://manga.bilibili.com/detail/mc25717?refer_from=bili_main_nav
  5. 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&timestamp=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.)
  6. https://live.bilibili.com/5050?session_id=05516821-7236-477D-99EA-261C989C3EE4
  7. (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