您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
B站“稍后再看”播放页重定向至常规播放页面
当前为
// ==UserScript== // @id BilibiliWatchlaterRedirect@Laster2800 // @name B站“稍后再看”重定向 // @version 1.2.4 // @namespace laster2800 // @author Laster2800 // @description B站“稍后再看”播放页重定向至常规播放页面 // @include https://www.bilibili.com/watchlater/* // @run-at document-start // ==/UserScript== redirect() window.onhashchange = redirect function redirect() { var hash = location.hash if (hash && /^#\/(b|a)v/.test(hash.toLowerCase())) { var vid = hash.replace(/^#\//, '').replace(/(?<=\/)p(?=\d+$)/, '?p=') location.replace('https://www.bilibili.com/video/' + vid) } }