File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
// ==UserScript==
2
2
// @name YouTube JS Engine Tamer
3
3
// @namespace UserScripts
4
- // @version 0.18.3
4
+ // @version 0.18.4
5
5
// @match https://www.youtube.com/*
6
6
// @match https://www.youtube-nocookie.com/embed/*
7
7
// @match https://studio.youtube.com/live_chat*
3755
3755
// await new Promise(r=>setTimeout(r, 1000));
3756
3756
3757
3757
3758
+ if ( ! hasElement && ! ! domShell . firstElementChild ) return ;
3758
3759
if ( hostElement . isConnected === false || this . isAttached === false || ! hostElement . contains ( container ) || container . __domApi !== domShell ) {
3759
3760
return ;
3760
3761
}
3776
3777
// console.log('createStampDomArrayFn_{T2}', t2-t1);
3777
3778
} ) . then ( async ( ) => {
3778
3779
3780
+ if ( ! hasElement && ! ! domShell . firstElementChild ) return ;
3779
3781
if ( hostElement . isConnected === false || this . isAttached === false || ! hostElement . contains ( container ) || container . __domApi !== domShell ) {
3780
3782
return ;
3781
3783
}
You can’t perform that action at this time.
0 commit comments