Skip to content

Instantly share code, notes, and snippets.

@JiaJiaJiang
Last active January 15, 2023 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JiaJiaJiang/41c9784ce07c4e29814b9d6713802469 to your computer and use it in GitHub Desktop.
Save JiaJiaJiang/41c9784ce07c4e29814b9d6713802469 to your computer and use it in GitHub Desktop.
jump from watchlater page that not have the new player
// ==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