ilyhalight / voice-over-translation

Небольшое расширение, которое добавляет закадровый перевод видео из YaBrowser в другие браузеры
MIT License
3.3k stars 227 forks source link

Кнопка не отображается на piped.video в qutebrowser #602

Closed poslat-pismo closed 4 months ago

poslat-pismo commented 4 months ago

Operating system / Операционная система

ArchLinux ядро 6.6.29-1-lts

Browser / Браузер

Other / Другой

Userscript manager / Скриптовый движок

Greasemonkey

Script version / Версия скрипта

1.5.2

Describe the bug / Опишите ошибку

Здравствуйте, я использую qutebrowser и vot-cloudflare.user.js версия скрипта 1.5.1.5 работает как ожидается, все отлично начиная с версии 1.5.2 не отображается кнопка на piped.video, при этом отображается на xvideos.com, но там мне не нужно)) Спасибо большое за вашу работу!

Additional information / Дополнительная информация

No response

Flagrantior commented 4 months ago

Аналогично, Artix+Sway+Qutebrowser, даже в YouTube сломался. Логи:

userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753 Uncaught TypeError: Cannot read properties of undefined (reading 'trim')
    at opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753:16)
    at GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75:48

userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:221 This document requires 'TrustedScript' assignment.

POST https://accounts.youtube.com/_/IdentityRotateCookiesHttp/cspreport 404 (Not Found)
SashaXser commented 4 months ago

Вы пробывали скачать 1.5.2.2?

poslat-pismo commented 4 months ago

Вы пробывали скачать 1.5.2.2?

да, конечно

SashaXser commented 4 months ago

Вы пробывали скачать 1.5.2.2?

да, конечно

Покажи логи консоли

poslat-pismo commented 4 months ago

Покажи логи консоли DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

SashaXser commented 4 months ago

Покажи логи консоли DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

Это всё?

poslat-pismo commented 4 months ago
19:41:56 DEBUG    greasemonkey greasemonkey:load_scripts:323 Reading scripts from: /home/dmp/.local/share/qutebrowser/greasemonk
ey
19:41:56 DEBUG    greasemonkey greasemonkey:load_scripts:323 Reading scripts from: /home/dmp/.config/qutebrowser/greasemonkey
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script:370 Loaded script: Redirect Script
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script:370 Loaded script: /home/dmp/.config/qutebrowser/greasemonkey/qutecss.us
er.js
19:41:56 DEBUG    greasemonkey greasemonkey:add_script:349 Deferring script until requirements are fulfilled: [VOT Cloudflare] -
 Voice Over Translation
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script_with_requires:406 Adding required script for [VOT Cloudflare] - Voice Ov
er Translation to IIFE: https://gist.githubusercontent.com/ilyhalight/6eb5bb4dffc7ca9e3c57d6933e2452f3/raw/7ab38af2228d0bed13912
e503bc8a9ee4b11828d/gm-addstyle-polyfill.js
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script_with_requires:406 Adding required script for [VOT Cloudflare] - Voice Ov
er Translation to IIFE: https://cdn.jsdelivr.net/npm/hls.js/dist/hls.light.min.js
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script_with_requires:406 Adding required script for [VOT Cloudflare] - Voice Ov
er Translation to IIFE: https://cdn.jsdelivr.net/npm/protobufjs/dist/light/protobuf.min.js
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script:370 Loaded script: [VOT Cloudflare] - Voice Over Translation
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script:370 Loaded script: AdsBypasser
19:41:56 DEBUG    greasemonkey greasemonkey:_add_script:370 Loaded script: /home/dmp/.config/qutebrowser/greasemonkey/urlreplace
.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Scr
ipt
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/gr
easemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]
- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/gr
easemonkey/urlreplace.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Scr
ipt
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/gr
easemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]
- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/gr
easemonkey/urlreplace.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Scr
ipt
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/gr
easemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/urlreplace.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Script
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/urlreplace.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Script
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/urlreplace.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Script
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/qutecss.user.js
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]- Voice Over Translation
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:56 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/urlreplace.user.js
19:41:57 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-https://example.com/Redirect Script
19:41:57 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/qutecss.user.js
19:41:57 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-vot-cloudflare/[VOT Cloudflare]- Voice Over Translation
19:41:57 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-AdsBypasser/AdsBypasser
19:41:57 DEBUG    greasemonkey webenginetab:_inject_greasemonkey_scripts:1180 adding script: GM-/home/dmp/.config/qutebrowser/greasemonkey/urlreplace.user.js
poslat-pismo commented 4 months ago
AdsBypasser called unimplemented GM_registerMenuCommand
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
SashaXser commented 4 months ago
AdsBypasser called unimplemented GM_registerMenuCommand
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1753)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

GM_Fetch поперхнулся во время обработки headers.

SashaXser commented 4 months ago

@poslat-pismo Поменял GM_Fetch на другой, пробуй

poslat-pismo commented 4 months ago

@poslat-pismo Поменял GM_Fetch на другой, пробуй

нет, кнопка не появилась

Uncaught (in promise) TypeError: Cannot destructure property 'abort' of 'd(...)' as it is undefined.
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1805
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1803
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1801
    at async Object.update (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1079)
    at async src_main (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6850)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777 Uncaught (in promise) TypeError: Cannot read property 'replace' of undefined
    at q (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777)
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1842)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836 Uncaught (in promise) ReferenceError: Cannot access 'm' before initialization
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
poslat-pismo commented 4 months ago

на vk.com/video работает

SashaXser commented 4 months ago

@poslat-pismo Поменял GM_Fetch на другой, пробуй

нет, кнопка не появилась

Uncaught (in promise) TypeError: Cannot destructure property 'abort' of 'd(...)' as it is undefined.
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1805
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1803
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1801
    at async Object.update (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1079)
    at async src_main (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6850)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777 Uncaught (in promise) TypeError: Cannot read property 'replace' of undefined
    at q (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777)
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1842)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836 Uncaught (in promise) ReferenceError: Cannot access 'm' before initialization
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

Может у тебя

@poslat-pismo Поменял GM_Fetch на другой, пробуй

нет, кнопка не появилась

Uncaught (in promise) TypeError: Cannot destructure property 'abort' of 'd(...)' as it is undefined.
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1805
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1803
    at new Promise (<anonymous>)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1801
    at async Object.update (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1079)
    at async src_main (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6850)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777 Uncaught (in promise) TypeError: Cannot read property 'replace' of undefined
    at q (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1777)
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1842)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836 Uncaught (in promise) ReferenceError: Cannot access 'm' before initialization
    at Object.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1836)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onreadystatechange (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:71)
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
shaka-player.ui-BBJKjTsg.js:1 EmeEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 McEncryptionSchemePolyfill: Already installed.
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

Интересно, а в Tampermonkey проверяли?

poslat-pismo commented 4 months ago

Интересно, а в Tampermonkey проверяли?

Там greasemonkey встроен и tampermonkey нет возможности установить

SashaXser commented 4 months ago

Интересно, а в Tampermonkey проверяли?

Там greasemonkey встроен и tampermonkey нет возможности установить

Хорошо, добавил Greasemonkey в исключение.

poslat-pismo commented 4 months ago

нет, всё так же, на piped и bibllbili не работает на vk и xv работает

SashaXser commented 4 months ago

нет, всё так же, на piped и bibllbili не работает на vk и xv работает

Ошибка не меняется?

poslat-pismo commented 4 months ago

совсем забыл

userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101 [VOT] [localizationProvider] SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.setLocaleFromJsonString (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1099)
    at new <anonymous> (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058)
    at Object../src/localization/localizationProvider.js (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038)
    at __webpack_require__ (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2086)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2232
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6870
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6872
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6877
setLocaleFromJsonString @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1790 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1790)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
SashaXser commented 4 months ago

совсем забыл

userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101 [VOT] [localizationProvider] SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.setLocaleFromJsonString (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1099)
    at new <anonymous> (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058)
    at Object../src/localization/localizationProvider.js (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038)
    at __webpack_require__ (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2086)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2232
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6870
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6872
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6877
setLocaleFromJsonString @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1790 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1790)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0

Немного опечатался, попробуй

poslat-pismo commented 4 months ago

кнопки нет

DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
2VM119 AdsBypasser:136 AdsBypasser called unimplemented GM_registerMenuCommand
2VM132 [VOT Cloudflare] - Voice Over Translation:1790 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (VM132 [VOT Cloudflare] - Voice Over Translation:1790)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (VM132 [VOT Cloudflare] - Voice Over Translation:75)
opt.onload @ VM132 [VOT Cloudflare] - Voice Over Translation:1790
GM_xmlhttpRequest.oXhr.onload @ VM132 [VOT Cloudflare] - Voice Over Translation:75
load (async)
GM_xmlhttpRequest @ VM132 [VOT Cloudflare] - Voice Over Translation:75
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:1809
GM_fetch @ VM132 [VOT Cloudflare] - Voice Over Translation:1777
update @ VM132 [VOT Cloudflare] - Voice Over Translation:1079
async function (async)
update @ VM132 [VOT Cloudflare] - Voice Over Translation:1066
src_main @ VM132 [VOT Cloudflare] - Voice Over Translation:6776
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6853
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6870
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6872
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6877
2DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
SashaXser commented 4 months ago

кнопки нет

DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
2VM119 AdsBypasser:136 AdsBypasser called unimplemented GM_registerMenuCommand
2VM132 [VOT Cloudflare] - Voice Over Translation:1790 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (VM132 [VOT Cloudflare] - Voice Over Translation:1790)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (VM132 [VOT Cloudflare] - Voice Over Translation:75)
opt.onload @ VM132 [VOT Cloudflare] - Voice Over Translation:1790
GM_xmlhttpRequest.oXhr.onload @ VM132 [VOT Cloudflare] - Voice Over Translation:75
load (async)
GM_xmlhttpRequest @ VM132 [VOT Cloudflare] - Voice Over Translation:75
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:1809
GM_fetch @ VM132 [VOT Cloudflare] - Voice Over Translation:1777
update @ VM132 [VOT Cloudflare] - Voice Over Translation:1079
async function (async)
update @ VM132 [VOT Cloudflare] - Voice Over Translation:1066
src_main @ VM132 [VOT Cloudflare] - Voice Over Translation:6776
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6853
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6870
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6872
(anonymous) @ VM132 [VOT Cloudflare] - Voice Over Translation:6877
2DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().

У тебя точно Greasemonkey? Зайди в настройки скрипта, например, в ВК и посмотри что написано тут: изображение

poslat-pismo commented 4 months ago

Loader: Tampermonkey v0.0.1 там в доках везде Greasemokey написано и директория куда скрипты складывать так и называется ~/.config/qutebrowser/greasemonkey/ извините за непонятки )

poslat-pismo commented 4 months ago

How do I make qutebrowser use greasemonkey scripts?

There is currently no UI elements to handle managing greasemonkey scripts. All management of what scripts are installed or disabled is done in the filesystem by you. qutebrowser reads all files that have an extension of .js from the /greasemonkey/ folder and attempts to load them. Where is the qutebrowser data directory shown in the Paths section of the page displayed by :version. If you want to disable a script just rename it, for example, to have .disabled on the end, after the .js extension. To reload scripts from that directory run the command :greasemonkey-reload.

Troubleshooting: to check that your script is being loaded when :greasemonkey-reload runs you can start qutebrowser with the arguments --debug --logfilter greasemonkey,js and check the messages on the program’s standard output for errors parsing or loading your script. You may also see javascript errors if your script is expecting an environment that we fail to provide.

Note that there are some missing features which you may run into:

Some scripts expect GM_xmlhttpRequest to ignore Cross Origin Resource Sharing restrictions, this is currently not supported, so scripts making requests to third party sites will often fail to function correctly.

Any greasemonkey API function to do with adding UI elements is not currently supported. That means context menu extentensions and background pages.

получается, что это не у вас ошибка

SashaXser commented 4 months ago

How do I make qutebrowser use greasemonkey scripts?

There is currently no UI elements to handle managing greasemonkey scripts. All management of what scripts are installed or disabled is done in the filesystem by you. qutebrowser reads all files that have an extension of .js from the /greasemonkey/ folder and attempts to load them. Where is the qutebrowser data directory shown in the Paths section of the page displayed by :version. If you want to disable a script just rename it, for example, to have .disabled on the end, after the .js extension. To reload scripts from that directory run the command :greasemonkey-reload.

Troubleshooting: to check that your script is being loaded when :greasemonkey-reload runs you can start qutebrowser with the arguments --debug --logfilter greasemonkey,js and check the messages on the program’s standard output for errors parsing or loading your script. You may also see javascript errors if your script is expecting an environment that we fail to provide.

Note that there are some missing features which you may run into:

Some scripts expect GM_xmlhttpRequest to ignore Cross Origin Resource Sharing restrictions, this is currently not supported, so scripts making requests to third party sites will often fail to function correctly.

Any greasemonkey API function to do with adding UI elements is not currently supported. That means context menu extentensions and background pages.

получается, что это не у вас ошибка

Не, давай уж тогда сделаю проверку на GM_xmlhttpRequest. Так будет куда проще.

SashaXser commented 4 months ago

How do I make qutebrowser use greasemonkey scripts?

There is currently no UI elements to handle managing greasemonkey scripts. All management of what scripts are installed or disabled is done in the filesystem by you. qutebrowser reads all files that have an extension of .js from the /greasemonkey/ folder and attempts to load them. Where is the qutebrowser data directory shown in the Paths section of the page displayed by :version. If you want to disable a script just rename it, for example, to have .disabled on the end, after the .js extension. To reload scripts from that directory run the command :greasemonkey-reload.

Troubleshooting: to check that your script is being loaded when :greasemonkey-reload runs you can start qutebrowser with the arguments --debug --logfilter greasemonkey,js and check the messages on the program’s standard output for errors parsing or loading your script. You may also see javascript errors if your script is expecting an environment that we fail to provide.

Note that there are some missing features which you may run into:

Some scripts expect GM_xmlhttpRequest to ignore Cross Origin Resource Sharing restrictions, this is currently not supported, so scripts making requests to third party sites will often fail to function correctly.

Any greasemonkey API function to do with adding UI elements is not currently supported. That means context menu extentensions and background pages.

получается, что это не у вас ошибка

Добавил проверку на наличие GM_xmlhttpRequest

poslat-pismo commented 4 months ago

кнопки нет

AdsBypasser called unimplemented GM_registerMenuCommand
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101 [VOT] [localizationProvider] SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.setLocaleFromJsonString (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1099)
    at new <anonymous> (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058)
    at Object../src/localization/localizationProvider.js (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038)
    at __webpack_require__ (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2087)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2233
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
setLocaleFromJsonString @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058
./src/localization/localizationProvider.js @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038
__webpack_require__ @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2087
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2233
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
opt.onload @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791
GM_xmlhttpRequest.oXhr.onload @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75
load (async)
GM_xmlhttpRequest @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1810
GM_fetch @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1778
update @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1079
async function (async)
update @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1066
src_main @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6777
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6854
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
p.Me @ shaka-player.ui-BBJKjTsg.js:1
p.Le @ shaka-player.ui-BBJKjTsg.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
setPlayerAttrs @ WatchVideo-bK09VhzV.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
async function (async)
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
loadVideo @ WatchVideo-bK09VhzV.js:1
async function (async)
loadVideo @ WatchVideo-bK09VhzV.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
mounted @ WatchVideo-bK09VhzV.js:1
(anonymous) @ index-CUtTks-w.js:2
zt @ index-CUtTks-w.js:2
rt @ index-CUtTks-w.js:2
t.__weh.t.__weh @ index-CUtTks-w.js:2
ac @ index-CUtTks-w.js:2
lc @ index-CUtTks-w.js:2
Promise.then (async)
ic @ index-CUtTks-w.js:2
mo @ index-CUtTks-w.js:2
(anonymous) @ index-CUtTks-w.js:2
Us @ index-CUtTks-w.js:1
Kl @ index-CUtTks-w.js:1
Ur @ index-CUtTks-w.js:1
set value @ index-CUtTks-w.js:1
$ @ index-CUtTks-w.js:6
(anonymous) @ index-CUtTks-w.js:6
Promise.then (async)
M @ index-CUtTks-w.js:6
O @ index-CUtTks-w.js:6
a @ index-CUtTks-w.js:6
zt @ index-CUtTks-w.js:2
rt @ index-CUtTks-w.js:2
n @ index-CUtTks-w.js:2
SashaXser commented 4 months ago

кнопки нет

AdsBypasser called unimplemented GM_registerMenuCommand
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101 [VOT] [localizationProvider] SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.setLocaleFromJsonString (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1099)
    at new <anonymous> (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058)
    at Object../src/localization/localizationProvider.js (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038)
    at __webpack_require__ (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2087)
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2233
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
    at userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
setLocaleFromJsonString @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1101
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1058
./src/localization/localizationProvider.js @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1038
__webpack_require__ @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2087
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:2233
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
DevTools failed to load SourceMap: Could not parse content for https://piped.video/userscript:GM-vot-cloudflare/hls.light.min.js.map: Unexpected token < in JSON at position 0
userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791 Uncaught TypeError: Cannot read property 'trim' of undefined
    at Object.opt.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791)
    at XMLHttpRequest.GM_xmlhttpRequest.oXhr.onload (userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75)
opt.onload @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1791
GM_xmlhttpRequest.oXhr.onload @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75
load (async)
GM_xmlhttpRequest @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:75
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1810
GM_fetch @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1778
update @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1079
async function (async)
update @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:1066
src_main @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6777
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6854
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6871
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6873
(anonymous) @ userscript:GM-vot-cloudflare/[VOT Cloudflare] - Voice Over Translation:6878
shaka-player.ui-BBJKjTsg.js:1 Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().
de @ shaka-player.ui-BBJKjTsg.js:1
p.Me @ shaka-player.ui-BBJKjTsg.js:1
p.Le @ shaka-player.ui-BBJKjTsg.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
setPlayerAttrs @ WatchVideo-bK09VhzV.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
async function (async)
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
loadVideo @ WatchVideo-bK09VhzV.js:1
async function (async)
loadVideo @ WatchVideo-bK09VhzV.js:1
(anonymous) @ WatchVideo-bK09VhzV.js:1
Promise.then (async)
mounted @ WatchVideo-bK09VhzV.js:1
(anonymous) @ index-CUtTks-w.js:2
zt @ index-CUtTks-w.js:2
rt @ index-CUtTks-w.js:2
t.__weh.t.__weh @ index-CUtTks-w.js:2
ac @ index-CUtTks-w.js:2
lc @ index-CUtTks-w.js:2
Promise.then (async)
ic @ index-CUtTks-w.js:2
mo @ index-CUtTks-w.js:2
(anonymous) @ index-CUtTks-w.js:2
Us @ index-CUtTks-w.js:1
Kl @ index-CUtTks-w.js:1
Ur @ index-CUtTks-w.js:1
set value @ index-CUtTks-w.js:1
$ @ index-CUtTks-w.js:6
(anonymous) @ index-CUtTks-w.js:6
Promise.then (async)
M @ index-CUtTks-w.js:6
O @ index-CUtTks-w.js:6
a @ index-CUtTks-w.js:6
zt @ index-CUtTks-w.js:2
rt @ index-CUtTks-w.js:2
n @ index-CUtTks-w.js:2

Получается, GM_xmlhttpRequest есть, но работает через одно место :/ Напиши о проблеме в репозитории QuteBrowser, они похоже код шестилетней давности используют...

poslat-pismo commented 4 months ago

я буду пользоваться версией 1.5.1.5 пока закрыть issue?

SashaXser commented 4 months ago

я буду пользоваться версией 1.5.1.5 пока закрыть issue?

Закрывай, не ожидал такой наркомании...