-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathYTNonStop.user.js
3356 lines (2970 loc) · 172 KB
/
YTNonStop.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;/**
* @param {string} e
* @return {?}
*/
function parseHeaders(e){e=e.toString();var r,n,c,i,s,t=/^\/\/ @(\S+)(?:\s+(.*))?/,a={},l=e.split(/[\r\n]+/).filter(function(e,r,n){return e.match(t)});for(var f in l){switch([,r,s]=l[f].replace(/\s+$/,"").match(t),r){case"licence":r="license"}[i,n]=r.split(/:/).reverse(),i&&(n?(a[n]||(a[n]=new Object),c=a[n]):c=a,c[i]?(c[i]instanceof Array||(c[i]=new Array(c[i])),c[i].push(s||"")):c[i]=s||"")}return a.license&&(a.licence=a.license),a}
// https://sourceforge.net/p/greasemonkey/wiki/Metadata_Block/#multiplexing-metadata-blocks
var fileMETA = parseHeaders((function () {
// ==UserScript==
// @name You(Tube)™ nonstop!
// @namespace tag:github.com,2020:K-mik@Z:YTNonStop:EmancipatedVersionOfYT:TryToTakeOverTheWorld
// @copyright 2020+, K-mik@Z
// @author K-mik@Z <[email protected]> (https://github.com/K-mikaZ)
// @version 1.6.1.
// @id 13fbc8ca-c92d-4032-aa17-276e77cd8552-YTNonStop
// @homepageURL https://github.com/K-mikaZ/new_approach_adb__1st/blob/master/common_utils/Resources/UserScripts/YTNonStop.user.js
// @downloadURL https://raw.githubusercontent.com/K-mikaZ/new_approach_adb__1st/master/common_utils/Resources/UserScripts/YTNonStop.user.js
// @installURL https://raw.githubusercontent.com/K-mikaZ/new_approach_adb__1st/master/common_utils/Resources/UserScripts/YTNonStop.user.js
// @updateURL https://github.com/K-mikaZ/new_approach_adb__1st/blob/master/common_utils/Resources/UserScripts/YTNonStop.user.js
// @description Emancipated version of YouTube: avoid annoying "video paused, log in, ... cookies" dialog boxes thus preventing these pop-ups from stopping the video + automatically skip all YouTube ads without waiting time + playing automatic of the next video in the second after the end of the video + added audio mode to listen only audio on YouTube without loading the video (can be enabled / disabled in player settings).
// @description:en Emancipated version of YouTube: avoid annoying "video paused, log in, ... cookies" dialog boxes thus preventing these pop-ups from stopping the video + automatically skip all YouTube ads without waiting time + playing automatic of the next video in the second after the end of the video + added audio mode to listen only audio on YouTube without loading the video (can be enabled / disabled in player settings).
// @description:de Emanzipierte Version von YouTube: Vermeiden Sie lästige Dialoge "Video angehalten, Anmelden, ... Cookies", um zu verhindern, dass diese Popups das Video automatisch stoppen. Überspringen Sie automatisch alle YouTube-Anzeigen, ohne die Wartezeit für die automatische Wiedergabe ab dem nächsten Video in der Sekunde nach dem Ende von Das Video hat einen Audiomodus hinzugefügt, um nur Audio auf YouTube anzuhören, ohne das Video zu laden (kann in den Player-Einstellungen aktiviert / deaktiviert werden).
// @description:fr Version émancipée de YouTube: évitez les boîtes de dialogue ennuyeuses "vidéo en pause, connectez-vous, ... cookies" empêchant ainsi ces pop-ups d'arrêter la vidéo + sautez automatiquement toutes les publicités YouTube sans temps d'attente + lecture automatique de la vidéo suivante dans la seconde après la fin de la vidéo + ajout d'un mode audio pour écouter uniquement l'audio sur YouTube sans charger la vidéo (peut être activé / désactivé dans les paramètres du lecteur).
// @description:it Versione emancipata di YouTube: evita le fastidiose finestre di dialogo "video in pausa, accedi, ... cookie", impedendo così a questi popup di fermare il video, salta automaticamente tutti gli annunci di YouTube senza attendere la riproduzione automatica dal video successivo nel secondo dopo la fine del il video ha aggiunto una modalità audio per ascoltare solo l'audio su YouTube senza caricare il video (può essere abilitato / disabilitato nelle impostazioni del lettore).
// @description:pt Versão emancipada do YouTube: evite os diálogos "vídeo pausado, faça login, ... cookies" irritantes, evitando que esses pop-ups parem o vídeo pular automaticamente todos os anúncios do YouTube sem esperar a reprodução automática do próximo vídeo no segundo após o final de o vídeo adicionou um modo de áudio para ouvir apenas áudio no YouTube sem carregar o vídeo (pode ser ativado / desativado nas configurações do player).
// @include /y(ou)?t(u)?(be)?(\-noco{2}kie)?\.(.{2,})\/.*/
// @match *://www.youtube.com/watch*
// @match *://www.y2mate.com/*/youtube/*
// @connect self
// @connect googlevideo.com
// @connect googleapis.com
// @connect s.ytimg.com
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js
// @require https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/layer.min.js
// @resource layercss https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/theme/default/layer.min.css
// @resource layericon https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/theme/default/icon.png
// @resource layerloading https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/theme/default/loading-0.gif
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABICAYAAACHvbkfAAAnh3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZxpliQ3kqT/4xRzBOzLcbAo3psb9PHnE1gkWUyyaqbnNXOJSA93M0AXURGFGp391/++7n/x34ilu1xar6NWz3955BEn33T//fd9DT6/v99/pfz8LPz1dZd/fSjyUuJr+v5Z7ef9k9fLnx9o+ef19dfXXds/1+k/Fwp/XPj9l3RnfX9+FvlzoRS/18PPv934+cCs/7Kdnz9x/1z25+K//zs3jHEK10vRRUsh+fd3/O6Uvj+TP52/Y+q8MaTG9yEl/s4p/N1+7g/T/YMBz7+xn/+1svSnOb4L/dpW/c1OP6+H8tvr6Y/bx7+sKMSft8Q/f/C9Hn995G/2u/f0e+3b3czVYa76s6lfW3zf8caFOdP7WOVX40/h+/Z+DX51P/3Ga4etLucX/xghYvEbcjhhhhvsfd1hs8QcLTa+xrhjeq/11OKIO8kFWb/Cjc2lkQ7eiWnjucTL8Y+1hHffoftxs86dT+CdMXAxfPzXX+73F/5/f/3lQvcqzEOQMU9/tkqyuNwQZMWkv3kXDgn3x6bl2Te474v//T85NuHB8szc2eD067vEKuHP2ErPz8kXx1uz//IltPNzAUzEvQuLCQkP+BpSCTX4FmMLATt2/DNZeUw5LjwQiivxsMqYU6o4h2zg3nymhffeWOL3MvCCI0qqpErHQRNn5VxyJd86ITRdSSWXUmpppZdRZk0111JrbVU4NVtquZVWW2u9jTZ76r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fEKeJefN0DLin90fc9Pc9MXtPJs3nL94pId1lSVMDfHzMwsr7z4OicPvwqvhGFFmyLIjnv/1cenv/rFP6mjZgrMxgm0sV+iaP/dtuTcdrVq97Bn9PiXn7nuhf/+1IP5yeZ70izDZSkurfb6S2rSs22dtXZh+zoR5pOyL4Ddld7LNd8VoHS7nJ39xPKq0rm9v5/3vmevv/Dz6p2D0fWjT/zHJ+77+w/zw2KWetneTbOFj3TdtqeLLN2DaRCo5yNrnQVGobV566KdVRZfUgdp7/w4eYFLtvWuZ+3d1/mn6QI6nOv86veYhYPdrxVqeydMVaSL/OWARUTKFQB1sivr8rzCaIuKKQU4uEvNzDMLlB2fqr4falE7vaN/6VGjNuBth4PnPj5e9Z5J2w6ycbwCZPQG5Hfv32Ne5DWd4HicZkr3t2oyaCBsHBfZOeW71MdirkVkqaWURUpcztMQ6LmuEZGFbZirWXNdHLskStALfEWke6/WhXt278/aWblc/nUU6V3D1kWYyDLXdI+5G4tlQR0E7nI3oN4VstSXudfgwiHzVvV565kXdFx6J1gW74Et1OObn+iL2DpETWwXdmwUNo8Ku2/z5xhsJT7TA6RjYsBDJ9Elk7m3O2Ei5w3qRYvmLhzIulnMur1KexAFF6bT6wN+o/uWu6o7ju5WZWZhLkQrMdNzS+mKcerS3dF7fu9vgXboHBxR76qC02V2WpcBe1Lrgs6MSzhPkfqASasjsW2A9jFlpjmuja5t8ltpJO2rAhe1/weQRh18kwEWxQAAAABJRU5ErkJggg==
// @attribution YouTube Downloader (https://greasyfork.org/fr/scripts/411551-youtube-downloader-support-video-audio-subtitle-download)
// @attribution Youtube Screenshot Button (https://greasyfork.org/en/scripts/402659-youtube-screenshot-button)
// @delay 2000
// @unstableMinify A brief technical reason
// @grant unsafeWindow
// @grant GM_addStyle
// @grant GM_openInTab
// @grant GM_getResourceText
// @grant GM_getResourceURL
// @grant GM_addValueChangeListener
// @grant GM_removeValueChangeListener
// @grant GM_xmlhttpRequest
// @grant GM.setValue
// @grant GM.getValue
// @grant GM_getValue
// @grant GM_setValue
// ==/UserScript==
}));
'use strict';
/// FIXME: document with https://jsdoc.app/index.html
/**
* /////// BABELJS START ///////////////////////////
* /// BABELJS PARAMS:
* /// https://babeljs.io/repl#?browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=Q&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=true&timeTravel=false&sourceType=module&lineWrap=true&presets=es2015%2Ces2016%2Creact%2Cstage-2&prettier=false&targets=&version=7.8.4&externalPlugins=%40babel%2Fplugin-proposal-class-properties%407.8.3
*/
/**
* @function _defineProperty
* @param {!Object} obj
* @param {string} key
* @param {!Object} value
* @return {?}
*/
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value : value,
enumerable : true,
configurable : true,
writable : true
});
} else {
/** @type {!Object} */
obj[key] = value;
}
return obj;
};
/**
* @function _slicedToArray
* @param {?} arr
* @param {?} i
* @return {?}
*/
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
};
/**
* @function _nonIterableRest
* @return {?}
*/
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
};
/**
* @function _iterableToArrayLimit
* @param {?} arr
* @param {string} i
* @return {?}
*/
function _iterableToArrayLimit(arr, i) {
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
return;
}
/** @type {!Array} */
var _arr = [];
/** @type {boolean} */
var _n = true;
/** @type {boolean} */
var _d = false;
var _e = undefined;
try {
var _i = arr[Symbol.iterator]();
var _s;
for (; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) {
break;
}
}
} catch (err) {
/** @type {boolean} */
_d = true;
_e = err;
} finally {
try {
if (!_n && _i.return != null) {
_i.return();
}
} finally {
if (_d) {
throw _e;
}
}
}
return _arr;
};
/**
* @function _arrayWithHoles
* @param {?} arr
* @return {?}
*/
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) {
return arr;
}
};
/**
* @function _toConsumableArray
* @param {?} arr
* @return {?}
*/
function _toConsumableArray(arr) {
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
};
/**
* @function _nonIterableSpread
* @return {?}
*/
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance");
};
/**
* @function _iterableToArray
* @param {?} iter
* @return {?}
*/
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") {
return Array.from(iter);
}
};
/**
* @function _arrayWithoutHoles
* @param {!NodeList} arr
* @return {?}
*/
function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) {
/** @type {number} */
var i = 0;
/** @type {!Array} */
var arr2 = new Array(arr.length);
for (; i < arr.length; i++) {
arr2[i] = arr[i];
}
return arr2;
}
};
/**
* /////// BABELJS END ///////////////////////////
*/
/**
* @param {?} i
* @return {?}
* @const
* @description JQuery selector like (in pure JS).
*/
const _$$ = (i) => {
return document.querySelectorAll.bind(document)(i).length, document.querySelectorAll.bind(document)(i);
};
/**
* Dictionary map
* @const
*/
const _getI18nMap = {
en: {
downloading: "Download",
screenshot: "Take a screenshot of the video",
videospeed: "Video speed: ",
normal: "Normal",
audiomode: "Audio mode",
activated: "activated",
noactivated: "deactivated",
audiomodenotice: "Listen only to audio without loading video. Only for videos that are not live.",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
de: {
downloading: "Herunterladen",
screenshot: "Faire une capture d'écran de la vidéo",
videospeed: "Lesegeschwindigkeit: ",
normal: "Normal",
audiomode: "Audiomodus",
activated: "aktiviert",
noactivated: "behindert",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
es: {
downloading: "Download",
screenshot: "Take a screenshot of the video",
videospeed: "Video speed: ",
normal: "Normal",
audiomode: "Mode audio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
fr: {
downloading: "Télécharger",
screenshot: "Faire une capture d'écran de la vidéo",
videospeed: "Vitesse de lecture: ",
normal: "Normale",
audiomode: "Mode audio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
it: {
downloading: "Download",
screenshot: "Take a screenshot of the video",
videospeed: "Video speed: ",
normal: "Normal",
audiomode: "Mode audio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
pt: {
downloading: "Descarregar",
screenshot: "Tirar uma foto do ecrã",
videospeed: "Velocidade de leitura: ",
normal: "Normal",
audiomode: "Modo áudio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
'pt-BR': { // translate to pt-BR https://www.deepl.com/translator#fr/pt/
downloading: "Baixar",
screenshot: "Tirar uma foto do vídeo",
videospeed: "Velocidade de leitura: ",
normal: "Normal",
audiomode: "Modo de áudio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
},
ru: {
downloading: "Download",
screenshot: "Take a screenshot of the video",
videospeed: "Video speed: ",
normal: "Normal",
audiomode: "Mode audio",
activated: "activé",
noactivated: "désactivé",
audiomodenotice: "Écouter uniquement l'audio sans charger la vidéo (seulement pour les vidéos qui ne sont pas en direct).",
showCommentsText: "Afficher les commentaires",
hideCommentsText: "Masquer les commentaires"
}
};
/**
* [ °°° SECTION LANGUAGE °°° ]
*/
/**
* Navigator language
* @const {string}
*/
let L10n = navigator.language;
//L10n = "de"; // DEBUG LANGUAGE
/**
* Define the language to use.
*/
if (!_getI18nMap[L10n]) {
/**
* Return lng (if lng-LNG is not present in Dictionary map).
* @const {string}
*/
L10n = L10n.substring(0, 2);
}
if (!_getI18nMap[L10n]) {
/**
* Default language to en if not supported.
* @const {string}
*/
L10n = "en";
};
/**
* Function translate
* @const
* @example
* // return "Take a screenshot of the video"
* translate.screenshot
*/
const translate = _getI18nMap[L10n];
/**
* @function docReady
* @param {?} fn
* @return {undefined}
*/
function docReady(fn) {
// see if DOM is already available
if (document.readyState === "complete" || document.readyState === "interactive") {
// call on next available tick
setTimeout(fn, 1);
} else {
document.addEventListener("DOMContentLoaded", fn, {
passive : true
});
}
};
/// https://greasyfork.org/fr/scripts/410150-addstyle/code
/**
* Replace GM_addStyle;
* Utility function to add replaceable CSS.
* Support external stylesheet path.
* @param {String} inputCSS
*/
const addStyle = (inputCSS) => {
let node;
let css = inputCSS.trim();
if (css.length === 0) {
return;
}
if (css.includes("{") && css.includes("}")) {
/** @type {!Element} */
node = document.createElement("style");
/** @type {string} */
node.type = "text/css";
node.appendChild(document.createTextNode(css));
} else {
if (css.includes(".css")) {
/** @type {!Element} */
node = document.createElement("link");
/** @type {string} */
node.rel = "stylesheet";
node.href = css;
} else {
console.error(`Function addStyle does't support input parameter: ${css}`);
}
}
const heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
document.documentElement.appendChild(node);
}
};
// Some youtube fix
addStyle(`.ytp-gradient-bottom{width:0px!important;height:0px!important;visibility:hidden!important;display:none!important}.text-wrapper.ytd-video-renderer,ytd-channel-video-player-renderer>#content,ytd-video-primary-info-renderer>#container{position:relative};`)
// /*
// * removeVideoAutoPlay
// * - Deletes all the audio and video autoplay attribute
// * This function is run after the DOM is rendered and loaded
// */
// var topframe = window === window.top;
// var YT_Stop_Autoplay = YT_Stop_Autoplay || [],
// LOG = false;
// YT_Stop_Autoplay.active = true;
// YT_Stop_Autoplay.focused = false;
// YT_Stop_Autoplay.enablejs = true;
// YT_Stop_Autoplay.embedded = true;
// YT_Stop_Autoplay.playlist = true;
// YT_Stop_Autoplay.unfocused = false;
// var check = function() {
// var cond_1 = YT_Stop_Autoplay.active;
// var cond_2 = topframe || (YT_Stop_Autoplay.embedded && !topframe);
// return cond_1 && cond_2;
// };
// var onYouTubePlayerReady = function(e) {
// YT_Stop_Autoplay.forEach(c => c(e))
// };
// YT_Stop_Autoplay.push(function(e) {
// var pathname = document.location.pathname;
// document.addEventListener('visibilitychange', function() {
// if (check()) {
// var visibility = document.visibilityState;
// var focused = YT_Stop_Autoplay.focused && visibility === 'visible';
// var unfocused = YT_Stop_Autoplay.unfocused && visibility === 'hidden';
// if (focused) {
// e.playVideo();
// if (YT_Stop_Autoplay.unfocused === false) YT_Stop_Autoplay.focused = false;
// }
// if (unfocused) e.pauseVideo();
// }
// }, { passive: true });
// if (pathname.startsWith('/user') || pathname.startsWith('/channel')) try {
// if (LOG) console.error("0", YT_Stop_Autoplay);
// if (check()) e.stopVideo();
// } catch (e) {};
// document.addEventListener('yt-page-data-fetched', function() {
// if (LOG) console.error("1", YT_Stop_Autoplay);
// var cond_1 = !YT_Stop_Autoplay.playlist;
// var cond_2 = document.location.href.indexOf('&list=') !== -1;
// var cond_3 = document.location.href.indexOf('&index=') !== -1;
// if (cond_1 && cond_2 && cond_3) return;
// if (check()) e.stopVideo();
// }, { passive: true });
// });
// document.addEventListener('spfpartprocess', function(e) {
// var flag = e.detail && e.detail.part && e.detail.part.data && e.detail.part.data.swfcfg;
// if (flag) {
// delete e.detail.part.data.swfcfg.args.ad3_module;
// var cond_1 = !YT_Stop_Autoplay.playlist;
// var cond_2 = document.location.href.indexOf('&list=') !== -1;
// var cond_3 = document.location.href.indexOf('&index=') !== -1;
// if (cond_1 && cond_2 && cond_3) return;
// if (check()) {
// if (LOG) console.error("2", YT_Stop_Autoplay);
// e.detail.part.data.swfcfg.args.autoplay = '0';
// e.detail.part.data.swfcfg.args.enablejs = YT_Stop_Autoplay.enablejs ? '1' : '0';
// }
// }
// }, { passive: true });
// (function(observe) {
// observe(window, 'ytplayer', function(ytplayer) {
// observe(ytplayer, 'config', function(config) {
// if (config && config.args) {
// if (check()) {
// delete config.args.ad3_module;
// if (LOG) console.error("3", YT_Stop_Autoplay);
// "configurable": true,
// get: () => '0'
// });
// config.args.fflags = config.args.fflags.replace("legacy_autoplay_flag=true", "legacy_autoplay_flag=false");
// if (YT_Stop_Autoplay.enablejs) Object.defineProperty(config.args, 'enablejs', {
// "configurable": true,
// get: () => '1'
// });
// config.args.jsapicallback = 'onYouTubePlayerReady';
// }
// }
// });
// });
// })(function(object, property, callback) {
// var value;
// var descriptor = Object.getOwnPropertyDescriptor(object, property);
// Object.defineProperty(object, property, {
// "enumerable": true,
// "configurable": true,
// get: () => value,
// set: (v) => {
// callback(v);
// if (descriptor && descriptor.set) descriptor.set(v);
// value = v;
// return value;
// }
// });
// });
// window.addEventListener('message', function(e) {
// var flag = e.data && e.data.action === "storage-update";
// if (flag) YT_Stop_Autoplay = Object.assign(YT_Stop_Autoplay, e.data.storage);
// }, { passive: true });
//[ °°° PLAYER °°° ]
var ytplayer
;
function getPlayer(node) {
"use-strict";
var player;
if (node && node.type !== 'canplay') {
player = node;
} else if (this.hasOwnProperty('target')) {
player = this.target.parentNode.parentNode;
} else if (this.hasOwnProperty('parentNode')) {
player = this.parentNode.parentNode;
} else {
player = document.querySelector('.html5-video-player') || document.getElementsByClassName("html5-video-player")[0];
}
//player = player || (window && window.ytplayer) || (unsafeWindow && unsafeWindow.ytplayer) || (window && window.yt) || (unsafeWindow && unsafeWindow.yt) || yt.player.Application || yt.player.Application.create || yt.player.Application.createAlternate || document.getElementById("movie_player") || document.getElementsByClassName("html5-video-player")[0];
return player;
}
;
//getPlayer();
ytplayer = ytplayer || getPlayer() || (window && window.ytplayer) || (unsafeWindow && unsafeWindow.ytplayer) || (window && window.yt) || (unsafeWindow && unsafeWindow.yt) || yt.player.Application || yt.player.Application.create || yt.player.Application.createAlternate || document.getElementById("movie_player") || document.getElementsByClassName("html5-video-player")[0] || []; //getPlayer();
var tag = document.createElement('script');
//tag.src = "https://www.youtube.com/player_api"; // iframe_api
tag.src = "https://www.youtube.com/iframe_api";
tag.async = false;
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag)
;
//if(ytplayer){
// var monelement = document.getElementById('movie_player');
// var lieu = monelement.getAttribute('data-version');// Load the IFrame Player API code asynchronously.
// console.log('player data-version',lieu);
// // give https://www.youtube.com/s/player/a3726513/player_ias.vflset/fr_FR/base.js
// monelement.removeAttribute('data-version');
// monelement.setAttribute('data-version','');
// console.log('player data-version after',lieu);
//}
var video_url = window.location.href; //document.getElementById('youtubediv').value;
function ytid(video_url){
"use-strict";
var VIDEO_ID = video_url.split('v=')[1];
// var ampersandPosition = VIDEO_ID.indexOf('&');
// if(ampersandPosition != -1) {
// VIDEO_ID = VIDEO_ID.substring(0, ampersandPosition);
// }
return VIDEO_ID;
}
const YT_VIDEO_ID = ytid(video_url);
// if(video_url!=""){
// var YT_VIDEO_ID = ytid(video_url);
// var listVideo = document.getElementsByClassName("html5-video-container")[0];
// for (var i = 0; i < listVideo.length; i++) {
// // list[i] is a node with the desired class name
// listVideo[i].setAttribute("src","https://www.youtube-nocookie.com/embed/"+ytid(video_url));
// }
// //document.getElementsByClassName("html5-video-container")[0].setAttribute("src","https://www.youtube-nocookie.com/embed/"+ytid(video_url));
// }
var YT = ytplayer, yt = ytplayer, ytcfg = {d: function() {return (yt && yt.config_) || (yt && yt.config) || ytcfg.data_ || (ytcfg.data_ = {});},get: function(k, o) {return (k in ytcfg.d()) ? ytcfg.d()[k] : o;},set: function() {var a = arguments;if (a.length > 1) {ytcfg.d()[a[0]] = a[1];} else {for (var k in a[0]) {ytcfg.d()[k] = a[0][k];}}}};
ytcfg.set('enableCsiLogging', "false");
ytplayer.config = {
"args": {
"enablejsapi" : "0"
,"enablecsi" : "0"
,"transparent_background" : "1"
,"ps" : "desktop-polymer"
,"external_fullscreen" : true
//,"c" : "WEB"
//,"show_miniplayer_button" : "0"
//,"use_miniplayer_ui" : "0"
}
};
// into console, enter : ytplayer.web_player_context_config, ytplayer.web_player_context_config.serializedExperimentFlags, ...
ytplayer.web_player_context_config = {
"enableCsiLogging" : false
,"transparentBackground" : true
,"useFastSizingOnWatchDefault" : false
,"showMiniplayerButton" : true
,"externalFullscreen" : true
,"showMiniplayerUiWhenMinimized" : false
,"rootElementId" : "movie_player"
,"playerStyle" : "desktop-polymer"
,"serializedExperimentIds" : ""
,"serializedExperimentFlags" : "use_video_ad_break_offset_ms_int64=false&csi_on_gel=false&enable_ad_pod_specific_ui=false&use_ivar_to_extract_ad_video_id=false&autoplay_time=1000&condition_biscotti_fetch_on_consent_cookie_html5_clients=false&set_interstitial_advertisers_question_text=false&align_ad_to_video_player_lifecycle_for_bulleit=false&html5_enable_per_format_loudness=false&drop_overlay_ads_on_cba_violation=false&hide_preskip=false&html5_disable_aac_ac3=false&enable_eviction_protection_for_bulleit=false&ad_pod_disable_companion_persist_ads_quality=true&html5_ignore_start_seconds_for_ads_killswitch=false&release_player_on_abandon_for_bulleit_lr_ads_frontend=false&player_ads_set_adformat_on_client=false&condition_ad_status_fetch_on_consent_cookie_html5_clients=false&self_podding_midroll_choice_string_template=&html5_ads_preroll_lock_timeout_delay_ms=-1&bulleit_get_midroll_info_timeout_ms=-1"
};
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
// https://developers.google.com/youtube/player_parameters
/// https://www.youtube-nocookie.com/embed/watch?v=A7WZhoGRjMI&list=PU2fVSthyWxWSjsiEAHPzriQ&autoplay=1&egm=0&showinfo=0&rel=0&iv_load_policy=3&annotations=0&related=0&modestbranding=0&enablejsapi=0&enablecsi=0
/// https://www.youtube-nocookie.com/embed/watch?v=A7WZhoGRjMI&list=PU2fVSthyWxWSjsiEAHPzriQ&autoplay=1&egm=0&showinfo=0&rel=0&iv_load_policy=3&annotations=0&related=0&modestbranding=0&enablejsapi=0&enablecsi=0
function onYouTubePlayerAPIReady() {
"use-strict";
ytplayer = new ytplayer('ytplayer', ytplayer.config, ytplayer.web_player_context_config, {
playerVars : {
rel : 0
,annotations : 0
,related : 0
,showinfo : 0
,egm : 0
,showsearch : 0
,controls : 1
,disablekb : 0
,modestbranding : 0
,iv_load_policy : 3 // 3 causes video annotations to not be shown by default. The default value is 1.
,cplayer : 'UNIPLAYER'
,host : 'https://www.youtube-nocookie.com'
,videoId : `${YT_VIDEO_ID}`
,enablejsapi : 1
,enablecsi : 0
,html5 : 1
},
events : {
'onReady' : onPlayerReady
,'onStateChange' : onPlayerStateChange
}
})
;
(function playerBootstrap() {
var createPlayer = ytplayer && ytplayer.player && ytplayer.player.Application && (ytplayer.player.Application.createAlternate || ytplayer.player.Application.create);
if (createPlayer) {
createPlayer("ytplayer", ytplayer.config, ytplayer.web_player_context_config);
ytplayer.config.loaded = true;
}
}())
;
ytplayer.load = function () {
throw new Error('Unexpected call to ytplayer.load.');
}
;
}
window.onPlayerStateChange = function(event, element) {
//When the video has ended
if (event.data == ytplayer.PlayerState.ENDED) {
//Get rid of the player
element.style.display = "none";
}
}
;
// No more youtube ads! (https://greasyfork.org/fr/scripts/407477-no-more-youtube-ads-updated/code)
// Automaticly Skips all youtube ads! with no waiting time.
(function() {
'use strict';
var closeAd=function (){
var css = '.video-ads .ad-container .adDisplay,#player-ads,.ytp-ad-module,.ytp-ad-image-overlay{ display: none!important; }',
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
head.appendChild(style);
};
var skipInt;
var log=function(msg){
// unsafeWindow.console.log (msg);
};
var skipAd=function(){
//ytp-ad-preview-text
//ytp-ad-skip-button
var skipbtn=document.querySelector(".ytp-ad-skip-button.ytp-button")||document.querySelector(".videoAdUiSkipButton ");
//var skipbtn=document.querySelector(".ytp-ad-skip-button ")||document.querySelector(".videoAdUiSkipButton ");
if(skipbtn){
skipbtn=document.querySelector(".ytp-ad-skip-button.ytp-button")||document.querySelector(".videoAdUiSkipButton ");
log("skip");
skipbtn.click();
if(skipInt) {clearTimeout(skipInt);}
skipInt=setTimeout(skipAd,500);
}else{
log("checking...");
if(skipInt) {clearTimeout(skipInt);}
skipInt=setTimeout(skipAd,500);
}
};
closeAd();
skipAd();
})()
;
/// BLOCK ADS
/// https://chrome.google.com/webstore/detail/adblocker-for-youtube/naihbfkjlampnpbnohcehoedklmejhmh/related?hl=fr
///
(function noAnnotations(){
/*
* Name: Youtube Zero Annotations
* Developer: China-Cheats
*
* Website: China-Cheats.com
* All Rights Reserved
* Credits to StackoverFlow for some of the Scripts used in this Extension.
*/
var YTZero = function() {
window.setTimeout(function() {
YTPlayerAPI(true);
}, 2500);
window.setTimeout(function() {
YTPlayerAPI(false);
}, 3000);
window.setTimeout(function() {
YTPlayerAPI(false);
}, 3500);
function YTPlayerAPI() {
// Avoid TypeError: Null or Undefiend
var YTPlayer = document.getElementById("movie_player");
if (typeof YTPlayer !== 'undefined' && YTPlayer !== null) {
YTPlayer.addEventListener("onStateChange", "onPlayerStateChange");
}
}
onPlayerStateChange = function(newState) {
if (newState == "-1") {
init();
} //Video Unstarted!
if (newState == "0") {
init();
} //Video Ended!
if (newState == "1") {
init();
} //Video Playing!
if (newState == "2") {
init();
} //Video Paused
if (newState == "4") {
init();
} //Video Buffering!
if (newState == "5") {
init();
} //Video Cued!
}
onStateChange = function(newState) {}
init = function() {
var settings_button = document.querySelector(".ytp-settings-button")
if (typeof settings_button !== 'undefined' && settings_button !== null) {
settings_button.click();
settings_button.click();
}
var all_labels = document.getElementsByClassName("ytp-menuitem-label");
for (var i = 0; i < all_labels.length; i++) {
var txt = all_labels[i].textContent;
if ((txt == "Annotations" || txt == "Aantekeninge" || txt == "Annotasiyalar" || txt == "Anotasi" || txt == "Anotasi" || txt == "Anotacions" || txt == "Poznámky" || txt == "Annoteringer" || txt == "Anmerkungen" || txt == "Märkused" || txt == "Anotaciones" || txt == "Anotaciones" || txt == "Oharpenak" || txt == "Mga Anotasyon" || txt == "##PART 2##" || txt == "Anotacións" || txt == "Napomene" || txt == "Izichasiselo" || txt == "Textaskýringar" || txt == "Annotazioni" || txt == "Ufafanuzi" || txt == "Piezīmes" || txt == "Komentarai" || txt == "Kommentárok" || txt == "Aantekeningen" || txt == "Annoteringer" || txt == "Izohlar" || txt == "Adnotacje" || txt == "Notas" || txt == "Anotações" || txt == "##PART 3##" || "Adnotări" || txt == "Shënime" || txt == "Anotácie" || txt == "Pripisi" || txt == "Merkinnät" || txt == "Annoteringar" || txt == "Chú thích" || txt == "Пояснения" || txt == "Аннотациялар" || txt == "Аннотациялар" || txt == "Прибелешки" || txt == "Тэмдэглэгээ" || txt == "Аннотацииv" || txt == "Напомене" || txt == "Анотації" || txt == "##PART 4##" || txt == "Σχολιασμοί" || txt == "Ծանոթագրություններ" || txt == "הערות" || txt == "تشریحات" || txt == "التعليقات التوضيحية" || txt == "حاشیهنویسیها" || txt == "एनोटेशनहरू" || txt == "भाष्ये" || txt == "टिप्पणियां" || txt == "টিকা রচনা" || txt == "ਐਨੋਟੇਸ਼ਨਸ" || txt == "ઍનોટેશન્સ" || txt == "விரிவுரைகள்" || txt == "ఉల్లేఖనాలు" || txt == "ಟಿಪ್ಪಣಿಗಳು" || txt == "വ്യാഖ്യാനങ്ങൾ" || txt == "##PART 5##" || txt == "විවරණ" || txt == "คำอธิบายประกอบ" || txt == "ຄໍາອະທິບາຍປະກອບ" || txt == "မှတ်စာများ" || txt == "ანოტაციები" || txt == "ማብራሪያዎች" || txt == "ចំណារពន្យល់" || txt == "注释" || txt == "註解" || txt == "註解" || txt == "アノテーション" || txt == "특수효과") && (all_labels[i].parentNode.getAttribute("aria-checked") == "true")) {
all_labels[i].click();
}
}
};
};
document.body.appendChild(document.createElement("script"))
.innerHTML = "(" + YTZero + ")()";
function init() {
var settings_button = document.querySelector(".ytp-settings-button");
if (typeof settings_button !== 'undefined' && settings_button !== null) {
settings_button.click();
settings_button.click();
}
var all_labels = document.getElementsByClassName("ytp-menuitem-label");
for (var i = 0; i < all_labels.length; i++) {
var txt = all_labels[i].textContent;
if ((txt == "Annotations" || txt == "Aantekeninge" || txt == "Annotasiyalar" || txt == "Anotasi" || txt == "Anotasi" || txt == "Anotacions" || txt == "Poznámky" || txt == "Annoteringer" || txt == "Anmerkungen" || txt == "Märkused" || txt == "Anotaciones" || txt == "Anotaciones" || txt == "Oharpenak" || txt == "Mga Anotasyon" || txt == "##PART 2##" || txt == "Anotacións" || txt == "Napomene" || txt == "Izichasiselo" || txt == "Textaskýringar" || txt == "Annotazioni" || txt == "Ufafanuzi" || txt == "Piezīmes" || txt == "Komentarai" || txt == "Kommentárok" || txt == "Aantekeningen" || txt == "Annoteringer" || txt == "Izohlar" || txt == "Adnotacje" || txt == "Notas" || txt == "Anotações" || txt == "##PART 3##" || "Adnotări" || txt == "Shënime" || txt == "Anotácie" || txt == "Pripisi" || txt == "Merkinnät" || txt == "Annoteringar" || txt == "Chú thích" || txt == "Пояснения" || txt == "Аннотациялар" || txt == "Аннотациялар" || txt == "Прибелешки" || txt == "Тэмдэглэгээ" || txt == "Аннотацииv" || txt == "Напомене" || txt == "Анотації" || txt == "##PART 4##" || txt == "Σχολιασμοί" || txt == "Ծանոթագրություններ" || txt == "הערות" || txt == "تشریحات" || txt == "التعليقات التوضيحية" || txt == "حاشیهنویسیها" || txt == "एनोटेशनहरू" || txt == "भाष्ये" || txt == "टिप्पणियां" || txt == "টিকা রচনা" || txt == "ਐਨੋਟੇਸ਼ਨਸ" || txt == "ઍનોટેશન્સ" || txt == "விரிவுரைகள்" || txt == "ఉల్లేఖనాలు" || txt == "ಟಿಪ್ಪಣಿಗಳು" || txt == "വ്യാഖ്യാനങ്ങൾ" || txt == "##PART 5##" || txt == "විවරණ" || txt == "คำอธิบายประกอบ" || txt == "ຄໍາອະທິບາຍປະກອບ" || txt == "မှတ်စာများ" || txt == "ანოტაციები" || txt == "ማብራሪያዎች" || txt == "ចំណារពន្យល់" || txt == "注释" || txt == "註解" || txt == "註解" || txt == "アノテーション" || txt == "특수효과") && (all_labels[i].parentNode.getAttribute("aria-checked") == "true")) {
all_labels[i].click();
}
}
$("iframe[src*='youtube.com'], embed[src*='youtube.com']")
.each(function() {
var url = $(this)
.prop("src");
if (url.search(/\?/) === -1) {
$(this)
.prop("src", url + "?iv_load_policy=3&rel=0&showinfo=0&modestbranding=0&enablejsapi=1&enablecsi=0");
} else {
$(this)
.prop("src", url + "&iv_load_policy=3&rel=0&showinfo=0&modestbranding=0&enablejsapi=1&enablecsi=0");
}
});
};
init();
})();
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// name: YT DOWNLOADER
/// based on: https://greasyfork.org/fr/scripts/411551-youtube-downloader-support-video-audio-subtitle-download
/// author: K-mik@Z; https://greasyfork.org/fr/users/39823-k-mik-z
/// description: Add a download button to YouTube.
///
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
(function ytDownloader() {
"use-strict";
if(!document.domain == "www.youtube.com") {
return
}
else {
/// Video analysis server
var videoServer="y2mate.com";
var videoServer2="y2mate.com";
// https://www.cybrhome.com/website/y2mate.com/alternatives
// https://2conv.org/fr/?url=https%3A%2F%2Fyoutu.be%2FUdQshRbiX0Q/ https://youtu.be/BKkJzCuV1IM => partagez sous la video
var junklist = "";
if(videoServer){
junklist = ".small,.navbar-nav.nav > li:not(.dropdown),.p-r-md.p-l-md.row-centered.row-bordered.row-padded.row,div.p-r-md.p-l-md.text-center.homepage-grid.row-bordered.row-padded.row,.p-r-md.p-l-md.m-t.text-center.homepage-grid.row-padded.row,.footer-borderless.clearfix.footer,[href*='https://y2mate.com/help/']{display:none!important}";
//junklist = ".small,.navbar-nav.nav > li:not(.dropdown),.p-r-md.p-l-md.row-centered.row-bordered.row-padded.row,div.p-r-md.p-l-md.text-center.homepage-grid.row-bordered.row-padded.row,.p-r-md.p-l-md.m-t.text-center.homepage-grid.row-padded.row,.footer-borderless.clearfix.footer,[href*='https://y2mate.com/help/']";
// .hero-homepage.hero > div:nth-of-type(2),.navbar-header,
// .table-bordered.table > tbody > tr > .text-center
}
/// Get URL parameters
var getQueryVariable = function (variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return "";
}
/// Jump to the monitoring ID prefix of server 2
var isLoadingServer2 = "__is_loading_server2_";
/// YouTube script
if(document.domain == "www.youtube.com") {
/// Get the video key and analysis address
var lng = 'fr';
var getVideoUrl = function getVideoUrl(videoServerDomain){
videoServerDomain = videoServerDomain || videoServer;
var videoKey = getQueryVariable("v") || $("ytd-watch-flexy").attr("video-id");
if(videoServer){
return "//"+videoServerDomain+"/"+lng+"/youtube-mp3/"+encodeURIComponent(videoKey);
}
if(videoServer2){
return "//"+videoServerDomain+"/"+lng+"/youtube/"+encodeURIComponent(videoKey);
}
}
;
/// Start inserting button
var downTimmer = null, dtcount=0;
var insertButton = function(){
if($("#wish_downloader").length > 0) return;
if(downTimmer) clearTimeout(downTimmer);
dtcount++;
if(dtcount> 5000) return;
var authorInfo = $("#top-row #upload-info.ytd-video-owner-renderer");
//var titleInfo = $(".ytd-video-primary-info-renderer.style-scope.title > .ytd-video-primary-info-renderer.style-scope");
//var likeInfo = $("#container > .ytd-video-primary-info-renderer.style-scope");
//if(authorInfo.length > 0){
if(authorInfo.length > 0){
// target="_blank" replace with onclick="var o;o=window.open(this.href);if(o){o.opener=null;};if(window.focus){o.focus();};return !o;"
/// Text reminder
//authorInfo.after(`<a id="wish_downloader" href="`+getVideoUrl()+`" target="_blank" rel="noopener" style="width: 100px;height: 18px;background-color: rgb(0, 183, 90);color: white;text-align: center;padding: 8px 8px;margin: 0px 10px;font-size: 14px;border: 0px;cursor: pointer;border-radius: 2px;font-family: Roboto, Arial, sans-serif;text-decoration: none;margin-top: 9px;">${translate.downloading}</a>`);
//titleInfo.after(`<a id="wish_downloader" href="`+getVideoUrl()+`" target="_blank" rel="noopener" style="width: 100px;height: 18px;background-color: rgb(0, 183, 90);color: white;text-align: center;padding: 8px 8px;margin: 0px 10px;font-size: 14px;border: 0px;cursor: pointer;border-radius: 2px;font-family: Roboto, Arial, sans-serif;text-decoration: none;margin-top: 9px;">${translate.downloading}</a>`);
authorInfo.after(`<paper-button id="wish_downloader" href="`+getVideoUrl()+`" title="${translate.downloading} avec y2mate" rel="noopener noreferrer external" class="ytd-button-renderer style-destructive" style="padding: 8px 8px;margin: 0px 10px;max-width: fit-content;background-color: var(--yt-spec-10-percent-layer); color: var(--yt-spec-text-secondary); border-radius: 2px; padding: var(--yt-button-padding); margin: auto var(--ytd-subscribe-button-margin, 4px); white-space: nowrap; font-size: var(--ytd-tab-system_-_font-size); font-weight: var(--ytd-tab-system_-_font-weight); letter-spacing: var(--ytd-tab-system_-_letter-spacing); text-transform: var(--ytd-tab-system_-_text-transform); display: flex; flex-direction: row; cursor: pointer; --yt-formatted-string-deemphasize-color: var(--yt-spec-text-secondary); --yt-formatted-string-deemphasize_-_margin-left: 4px; --yt-formatted-string-deemphasize_-_display: initial;">${translate.downloading}</a>`);
/// Click the button to open the pop-up window
var count=0;
$("#wish_downloader").click(function(){
count++;
$(this).attr("href", getVideoUrl());
if(layer){
var title = $("h1.title.style-scope.ytd-video-primary-info-renderer").text();
layer.open({
type: 2
,title: 'YT Downloader - ' + title
,maxmin: true
,shade : 0
,area : ['800px' , '520px']
,content: $(this).attr('href')+'&count='+count
,id: 'YTDownloader'
});
/// Show loading
var loading = `<div class="layui-layer layui-layer-loading wish_loading0" type="loading" showtime="0" contype="string" style="z-index: 88888888;top: 50%;left: 50%;position: absolute;margin-left: -30px;margin-top: -12px;"><div id="" class="layui-layer-content layui-layer-loading0"></div><span class="layui-layer-setwin"></span></div>`;
$('.layui-layer.layui-layer-iframe:last').append(loading);
$('.layui-layer.layui-layer-iframe iframe').on('load', function() {
var me=$(this);
me.parent().parent().find(".wish_loading0").hide();
});
/// Dynamically change size when the window changes
$(".layui-layer-max").click(function() {
var me=$(this);
setTimeout(function(){me.parents(".layui-layer.layui-layer-iframe").find("iframe").height(me.parents(".layui-layer.layui-layer-iframe").height()-50);}, 100);
});
/// Multi-window display
var zIndex=$('.layui-layer.layui-layer-iframe:last').css("z-index");
$(".layui-layer-title").on('mousedown', function(){
var me=$(this);
me.parents(".layui-layer.layui-layer-iframe").css("z-index", zIndex++);
});
/// Monitor if it is jumping to server 2
GM_setValue(isLoadingServer2+count, 0);
var listener_id = GM_addValueChangeListener(isLoadingServer2+count, function(name, old_value, new_value, remote) {
if(new_value == 1){
//server2 loading
$(".layui-layer.layui-layer-iframe:last").find(".wish_loading0").show();
} else {
//server2 loaded
$(".layui-layer.layui-layer-iframe:last").find(".wish_loading0").css();
GM_removeValueChangeListener(listener_id);
}
});
/// If the layer exists, open the pop-up window
return false;
} else {
/// If the layer does not exist, open a new window
return true;
}
});
/// Adjust popup style
var layermorecss = ".layui-layer.layui-layer-loading{position: absolute;top: 50%;left: 50%;margin-left: -30px;margin-top: -12px;}.layui-layer-shade{display:none;}.layui-layer-ico{background:url("+GM_getResourceURL("layericon")+") no-repeat;}.layui-layer-setwin .layui-layer-max {background-position: -32px -40px;}.layui-layer-setwin .layui-layer-close1 { background-position: 1px -40px; cursor: pointer; }.layui-layer-loading .layui-layer-content { width: 60px; height: 24px; background: url("+GM_getResourceURL("layerloading")+") no-repeat; }";
GM_addStyle(GM_getResourceText("layercss") + layermorecss);
/// Ensure that the button is 100% inserted correctly
setTimeout(function(){
if($("#wish_downloader").length ===0){
insertButton();
}
}, 500);
/// Stop monitoring dom changes
setTimeout(function(){
if(observer) observer.disconnect();
}, 200);
} else {
/// If it is not loaded, continue to wait and try again
downTimmer = setTimeout(function(){
insertButton();
}, 200);
}
};
/// Monitor dom changes
var observer = null, monitoringTimer = null, monitoringCount=0;
var monitoringDOMChanges = function(){
/// More than 100 attempts to exit
monitoringCount++;
if(monitoringCount > 100){