ChromeXt icon indicating copy to clipboard operation
ChromeXt copied to clipboard

Unable to install UserScripts (without Eruda) in Edge v122

Open JingMatrix opened this issue 11 months ago • 5 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.

JingMatrix avatar Mar 18 '24 19:03 JingMatrix

From the source code in chromium, we have following related information:

  1. Parse text file, third_party/blink/renderer/core/html/parser/text_document_parser.cc
  2. Compute document type, third_party/blink/renderer/core/dom/document_init.cc

JingMatrix avatar Mar 20 '24 13:03 JingMatrix

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.

JingMatrix avatar May 04 '24 13:05 JingMatrix

Currently, to install scripts for Egde, we

  1. download the scripts as asked by the browser;
  2. go to download files in the settings of browser, and rename the script file: change the extention .user.js to .js;
  3. click on the rename file, ChromeXt will then propose to install the script.

JingMatrix avatar May 04 '24 16:05 JingMatrix

Currently, to install scripts for Egde, we

  1. download the scripts as asked by the browser;
  2. go to download files in the settings of browser, and rename the script file: change the extention .user.js to .js;
  3. click on the rename file, ChromeXt will then propose to install the script.

Some scripts still won't install.

https://greasyfork.org/zh-CN/scripts/480094

Zerorigin avatar Jul 01 '24 11:07 Zerorigin

Some scripts still won't install.

https://greasyfork.org/zh-CN/scripts/480094

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.

JingMatrix avatar Jul 26 '24 12:07 JingMatrix

I'm having this same issue. Can't install anything, renamed the files as well to .js

Nothing seems to work.

Screenshot_20241014_191940_Device care

deltaxsingh avatar Oct 15 '24 02:10 deltaxsingh

Currently, to install scripts for Egde, we

  1. download the scripts as asked by the browser;
  2. go to download files in the settings of browser, and rename the script file: change the extention .user.js to .js;
  3. click on the rename file, ChromeXt will then propose to install the script.

@deltaxsingh, please follow the step 2, open scripts from the settings of (Edge) browser. Also, ensure that you are using latest ChromeXt build from GitHub Actions.

JingMatrix avatar Oct 15 '24 05:10 JingMatrix