Unable to install UserScripts (without Eruda) in Edge v122
JingMatrix opened this issue · comments
Edge v122 no longer allows to present JavaScript
files inside the browser, so that users of ChromeXt cannot view the scripts before install them.
From the source code in chromium, we have following related information:
- Parse text file, third_party/blink/renderer/core/html/parser/text_document_parser.cc
- Compute document type, third_party/blink/renderer/core/dom/document_init.cc
Edge has excluded urls ending with user.js
from preview. Hence, we may provide a fake filename for these files.
The download triger might locate at libchrome.so
.
Currently, to install scripts for Egde, we
- download the scripts as asked by the browser;
- go to download files in the settings of browser, and rename the script file: change the extention
.user.js
to.js
; - click on the rename file, ChromeXt will then propose to install the script.
Currently, to install scripts for Egde, we
- download the scripts as asked by the browser;
- go to download files in the settings of browser, and rename the script file: change the extention
.user.js
to.js
;- click on the rename file, ChromeXt will then propose to install the script.
Some scripts still won't install.
Some scripts still won't install.
Currently, that is really a bug of Edge browser. You could disable ChromeXt and find out that Egde simply cannot deal with files of Chinese names.
I hope the Egde dev team could solve this kind of stupid mistakes.