Skip to content

Commit c97e822

Browse files
committed
ytdl: update TM warning message
1 parent 740b72b commit c97e822

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/local-youtube-dl.user.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// @name:ja ローカル YouTube ダウンローダー
77
// @name:kr 로컬 YouTube 다운로더
88
// @namespace https://blog.maple3142.net/
9-
// @version 0.9.53
9+
// @version 0.9.54
1010
// @description Download YouTube videos without external service.
1111
// @description:zh-TW 不需透過第三方服務即可下載 YouTube 影片。
1212
// @description:zh-HK 不需透過第三方服務即可下載 YouTube 影片。
@@ -38,10 +38,11 @@
3838
if (
3939
window.top === window.self &&
4040
GM_info.scriptHandler === 'Tampermonkey' &&
41+
GM_info.version === '4.18.0' &&
4142
GM_getValue('tampermonkey_breaks_should_alert', true)
4243
) {
4344
alert(
44-
`Tampermonkey recently release a breaking change that breaks this script, which is fixed in Tampermonkey BETA right now. You should switch to Tampermonkey BETA or use Violentmonkey before the fix has been released in stable channel.`
45+
`Tampermonkey recently release a breaking change / bug in version 4.18.0 that breaks this script, which is fixed in newer version of Tampermonkey right now. You should update it or switch to Violentmonkey instead.`
4546
)
4647
GM_setValue('tampermonkey_breaks_should_alert', false)
4748
}

0 commit comments

Comments
 (0)