Last active
January 15, 2023 06:37
-
-
Save JiaJiaJiang/41c9784ce07c4e29814b9d6713802469 to your computer and use it in GitHub Desktop.
jump from watchlater page that not have the new player
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name bilibili jump from watchlater page | |
// @namespace https://gist.github.com/JiaJiaJiang/41c9784ce07c4e29814b9d6713802469/ | |
// @version 0.1.9 | |
// @description jump from watchlater page that not have the new player | |
// @author luojia@luojia.me | |
// @match https://www.bilibili.com/list/watchlater* | |
// @downloadURL https://gist.github.com/JiaJiaJiang/41c9784ce07c4e29814b9d6713802469/raw/bilibili-jump-from-watchlater-page.user.js | |
// @updateURL https://gist.github.com/JiaJiaJiang/41c9784ce07c4e29814b9d6713802469/raw/bilibili-jump-from-watchlater-page.user.js | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
console.log(`稍后播放跳转脚本已载入`); | |
let a=new URL(location.href); | |
location.assign('/video/'+a.searchParams.get('bvid')); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment