raingart / Nova-YouTube-extension

Apache License 2.0
218 stars 11 forks source link

[Bug] Userscript not working with Edge #194

Open Oreloth opened 1 month ago

Oreloth commented 1 month ago

Describe what exactly the error is. So that I don't interrogate you make sure the error is not related to others extensions/script related to YT

Userscript seems to not launch with Microsoft Edge, only have a few tips, so this is what I have:

Logs:

This document requires 'TrustedHTML' assignment.
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12471  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12471
Promise.then
insertSettingButton @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12463
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12246
wt @ VM5082:9
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1
window.__f__m20eermx.u3 @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1
wt @ VM5082:9
o.setMessageListener.o @ VM5082:80
(anonymes) @ VM5082:81
set @ VM5082:89
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1
Wo @ VM5080 content.js:56
Ho @ VM5080 content.js:57
(anonymes) @ VM5080 content.js:54
(anonymes) @ VM5080 content.js:69
yt @ VM5080 content.js:8
t @ VM5080 content.js:9
_ @ VM5080 content.js:69
wt @ VM5082:9
f @ VM5082:76
l @ VM5082:78
(anonymes) @ VM5082:78
Wn @ VM5082:17
send @ VM5082:78
(anonymes) @ VM5082:81
v @ VM5082:77
yt @ VM5080 content.js:8
f @ VM5080 content.js:68
d @ VM5080 content.js:71
(anonymes) @ VM5080 content.js:71
wn @ VM5080 content.js:14
send @ VM5080 content.js:70
w @ VM5080 content.js:54
No @ VM5080 content.js:56
(anonymes) @ VM5080 content.js:55
yt @ VM5080 content.js:8
t @ VM5080 content.js:9
Xo @ VM5080 content.js:51
Zo @ VM5080 content.js:64
(anonymes) @ VM5080 content.js:63
(anonymes) @ VM5080 content.js:14
yt @ VM5080 content.js:8
t @ VM5080 content.js:9
(anonymes) @ VM5080 content.js:14
(anonymes) @ VM5080 content.js:59
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1021
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:3357  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:3357
runOnPageLoad @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:5317
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:3354
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:3343
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1860
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1021
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1860
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1029
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1021
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889  This document requires 'TrustedHTML' assignment.
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1889
Promise.then
_runtime @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:1860
(anonymes) @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12143
run @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12118
appRun @ userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:12329
userscript.html?name=Nova-YouTube.user.js&id=5a871e1a-7831-494e-b885-9b41c6af0a23:4241  This document requires 'TrustedHTML' assignment.

Asked to Copilot, since Edge is from the same company, and this is what I got:

  1. Extensions Disabled: Ensure that the extension allowing Userscripts (like Tampermonkey or Violentmonkey) is installed and enabled.
  2. Security Settings: Edge might block certain scripts for security reasons. Check the security and privacy settings in edge://settings/privacy.
  3. Browser Updates: Sometimes, a browser update can cause incompatibilities. Make sure your browser and extensions are up to date.
  4. Conflicts with Other Extensions: Other extensions might interfere with the Userscripts. Try temporarily disabling other extensions to see if the issue persists.
  5. Script Issues: The script itself might contain errors or be incompatible with the current version of Edge.

Some searches are pointing to a "cross-origin" problem, so I also tried to find a clue in the experimental settings page (edge://flags) but found nothing, maybe you will.

Oreloth commented 1 month ago

Tested with Violentmonkey 2.26.0, same problem.

By the way, it works with:

Opera GX LVL6 (core: 113.0.5230.135) Tampermonkey 5.1.6194 (Last Opera version)

raingart commented 1 month ago

Ce problème est observé dans les forks primaires de Chromium.

Ici, je décrivais un peu le problème #182

Je travaille sur une nouvelle version, mais le processus est très lent. J'espérais auditer de nombreux logiciels locaux LLM, mais j'ai été très déçu par leur performance. Ils sont bien adaptés pour les données encyclopédiques et une version plus confortable d'un équivalent de Stack Overflow, mais en tant qu'assistant, ils laissent à désirer. Il m'a fallu plusieurs semaines après avoir refait certaines parties pour identifier des erreurs logiques complexes. Bien que les solutions proposées soient extrêmement intéressantes, leur mise en œuvre a été compliquée.

De plus, il m'a pris beaucoup de temps à tenter d'implémenter shadows-DOM pour bloquer les changements potentiels venant de YouTube ou d'autres scripts et améliorer l'isolement. Cependant, je suis insatisfait des résultats obtenus et envisage probablement de rejeter cette méthode. Je vous encourage à examiner d'autres projets similaires. Peut-être leur progression est plus significative. Et contrairement à moi, ils n'ont pas connu de ralentissement pendant six mois.

Oreloth commented 1 month ago

I'm sorry to tell you that but... I never found a better script than yours for enhancing YouTube.