bv2av

Change bv to av

Seznam verzí skriptu, při kterých došlo ke změnám v kódu. Zobrazit všechny verze.

  • v1.19 31. 05. 2024

    格式化代码

  • v1.18 31. 05. 2024

    如果浏览器支持则使用 Navigation API

  • v1.17 31. 05. 2024

    修复稍后再看 bvid 参数(删除 /watchlater/ 网址匹配的 trailing slash)

  • v1.16 31. 05. 2024

    使用 replaceState 来修改 window.location.href,这样的话一开始的 BV 号网址不会出现在历史记录中,可以避免后退到 BV 号然后又自动切换到 av 号,污染历史记录。

    另外,对代码进行了格式化。

  • v1.15 06. 02. 2024

    Use a new conversion algorithm

  • v1.14 30. 01. 2024

    Support recent large av numbers.

  • v1.13 24. 07. 2022

    对稍后再看的页面/链接禁用,因为这些地方貌似不认 av 号

  • v1.12 11. 06. 2021

    修复 BV 可以 /BV 而 av 必须 /video/av 的问题

  • v1.11 11. 06. 2020 only transfer www.bilibili.com
  • v1.10 10. 06. 2020 don't change window href when it contains "bvid="
  • v1.9 10. 06. 2020 fix regex syntax error
  • v1.8 10. 06. 2020 fix a bug about href and don't transfer bvid=*
  • v1.7 09. 06. 2020 don't transfer *.bilivideo.com, requested by @風の狸
  • v1.6 24. 03. 2020 修改 div 的 title 属性,如右上角动态
  • v1.5 24. 03. 2020 Match more sites including dynamic
  • v1.4 23. 03. 2020 Use for of
  • v1.3 23. 03. 2020 Use window.history.pushState instead of window.location.replace
  • v1.2 23. 03. 2020 Roll back to 1.0
  • v1.1 23. 03. 2020 Add "av" prefix
  • v1.0 23. 03. 2020