// ==UserScript==
// @name ddaass.top
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.bilibili.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant unsafeWindow
// ==/UserScript==
(function() {
setTimeout(()=>{
var w=unsafeWindow,
v=unsafeWindow.document.querySelector('video') ||unsafeWindow.document.querySelector('bwp-video') ;
var z=0;
v.onplay=()=>{ if(!z)unsafeWindow.player.seek(10);z }
unsafeWindow.document.getElementsByClassName('list-box')[0].addEventListener("DOMSubtreeModified", function(e){
if(e.target.className==='on')unsafeWindow.player.seek(10);
}, false);
},20)
})();