返回首頁 

bv2av

Change bv to av

These are versions of this script where the code was updated. Show all versions.

  • v1.192024-05-31

    格式化代码

  • v1.182024-05-31

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

  • v1.172024-05-31

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

  • v1.162024-05-31

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

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

  • v1.152024-02-06

    Use a new conversion algorithm

  • v1.142024-01-30

    Support recent large av numbers.

  • v1.132022-07-24

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

  • v1.122021-06-11

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

  • v1.112020-06-11only transfer www.bilibili.com
  • v1.102020-06-10don't change window href when it contains "bvid="
  • v1.92020-06-10fix regex syntax error
  • v1.82020-06-10fix a bug about href and don't transfer bvid=*
  • v1.72020-06-09don't transfer *.bilivideo.com, requested by @風の狸
  • v1.62020-03-24修改 div 的 title 属性,如右上角动态
  • v1.52020-03-24Match more sites including dynamic
  • v1.42020-03-23Use for of
  • v1.32020-03-23Use window.history.pushState instead of window.location.replace
  • v1.22020-03-23Roll back to 1.0
  • v1.12020-03-23Add "av" prefix
  • v1.02020-03-23