File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default {
74
74
{
75
75
name : 'ymp4.com' ,
76
76
color : colors . default ,
77
- func : ( url ) => 'https://ymp4.download/en50/ ?url=' + url ,
77
+ func : ( url ) => 'https://ymp4.download/?url=' + url ,
78
78
} ,
79
79
{
80
80
name : 'getlinks.vip' ,
@@ -92,7 +92,11 @@ export default {
92
92
93
93
const genDownloadLinkFromProvider = ( provider , url ) =>
94
94
/* html */
95
- `<a href="${ provider . func ( url ) } " target="_blank" class="ufs-ytDownloadVideoUI__btn">
95
+ `<a
96
+ href="${ provider . func ( url ) } "
97
+ target="_blank"
98
+ class="ufs-ytDownloadVideoUI__btn"
99
+ onclick="((e)=>e.stopPropagation())(event)">
96
100
${ provider . name }
97
101
</a>` ;
98
102
@@ -118,7 +122,7 @@ export default {
118
122
<button
119
123
class="yt-spec-button-shape-next yt-spec-button-shape-next--tonal yt-spec-button-shape-next--mono yt-spec-button-shape-next--size-m yt-spec-button-shape-next--icon-leading"
120
124
style="position:relative;margin:6px 0;"
121
- onclick="((function(event){event.preventDefault();event. stopPropagation();const el = document.querySelector('#ufs-ytDownloadBtn__container');if (!el) return;el.style.display = el.style.display == 'flex' ? 'none' : 'flex'}) )(event)"
125
+ onclick="((e)=>{e. stopPropagation();const el = document.querySelector('#ufs-ytDownloadBtn__container');if (!el) return;el.style.display = el.style.display == 'flex' ? 'none' : 'flex'})(event)"
122
126
>
123
127
<div class="yt-spec-button-shape-next__icon">
124
128
${ downloadIcon }
You can’t perform that action at this time.
0 commit comments