GithubHelp home page GithubHelp logo

Comments (12)

Ace-Who avatar Ace-Who commented on August 25, 2024

Sorry, wrong step. I put LegacyFox files in to wrong folder. I'll try again.

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

This time nothing happened, no message or error and no add-on was actually installed.

PS> cd 'C:\Program Files\Mozilla Firefox\'
PS> ls -Recurse defaults,legacy,config.js,legacy.manifest,Makefile,LICENSE,README


    目录: C:\Program Files\Mozilla Firefox\defaults


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       2022/11/10      7:03                pref


    目录: C:\Program Files\Mozilla Firefox\defaults\pref


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2017/10/25      9:38            245 channel-prefs.js
-a----        2022/4/29     22:15            134 config-prefs.js


    目录: C:\Program Files\Mozilla Firefox\legacy


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        2022/4/29     22:15          11811 BootstrapLoader.jsm
-a----        2022/4/29     22:15          51603 RDFDataSource.jsm
-a----        2022/4/29     22:15           3182 RDFManifestConverter.jsm


    目录: C:\Program Files\Mozilla Firefox


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        2022/4/29     22:15            690 config.js
-a----        2022/4/29     22:15             24 legacy.manifest
-a----        2022/4/29     22:15            497 Makefile
-a----        2022/4/29     22:15          16726 LICENSE
-a----        2022/4/29     22:15           1077 README

from vimfx.

girst avatar girst commented on August 25, 2024

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

I'd read two of the issues and have read the rest one now. I downloaded the xpi file from github and installed it on about:addons page from file and failed. I created a new profile which I hadn't tried to install VimFx for, and took the troubleshooting steps:

  • open about:config and type general.config:

image

  • hit F12 then F1 and enable the two options and run javascript code:

image

  • press Ctrl-Alt-r on previously opened browser console:

Fx was restarted and the browser console is opened, and no error is reported.

image

Then I tried to install VimFx on about:addon. When I clicked Install Add-on From File... and opened the xpi I downloaded before, the browser console output this:

Uncaught (in promise) TypeError: (new TypeError("this.addon._repositoryAddon is undefined", "resource://gre/modules/addons/XPIInstall.jsm", 1659)) is not iterable
    init resource://gre/modules/addons/XPIInstall.jsm:2118

image

from vimfx.

girst avatar girst commented on August 25, 2024

from vimfx.

girst avatar girst commented on August 25, 2024

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

Thanks. Wish you success. I'll keep using the en-US Nightly for a while and leave the zh-CN Firefox unchanged.

from vimfx.

girst avatar girst commented on August 25, 2024

more good news: the problem appears to be with vimfx's install.rdf file. i have a patch ready that would enable vimfx to work on unmodified localized firefox. can you please test the file attached?

vimfx.zip

note to self: the problem can be solved by copying <em:name> from the global <Description> section to the one in <em:localized>.

@Ace-Who: what was the last version of cn-firefox vimfx worked for you?

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

ok, i found the culprit, and an even easier workaround: it's caused by the about:config preference "intl.locale.requested". if a language pack is enabled (about:preferences -> language), it changes to a non-empty string. on en_US firefox: deleting the pref or setting it to "" (empty string) again reverts to the default language and installation works. language packs can be reenabled afterwards. on localized firefox: the pref does not exist, but creating it and setting it to "" keeps the default language, but vimfx installation now works. @Ace-Who: please go to about:config, press the "i understand" button and type "intl.locale.requested" into the search box. set the check box to "string", and click create. then without typing anything klick the ok/checkmark button. vimfx installation should then work.

Glad to see this, I'll try it later.

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

@Ace-Who: what was the last version of cn-firefox vimfx worked for you?

None. Because I upgraded from v56, which means the current version is my first try on a zh-CN Fx Quantum.

more good news: the problem appears to be with vimfx's install.rdf file. i have a patch ready that would enable vimfx to work on unmodified localized firefox. can you please test the file attached?

vimfx.zip

Good news here too, this patch works on my zh-CN Fx v106.0.5. It is installed successfully.

from vimfx.

girst avatar girst commented on August 25, 2024

thank you for your help finding and debugging this issue! i posted a new release here: https://github.com/akhodakivskiy/VimFx/releases/tag/v0.25.0

from vimfx.

Ace-Who avatar Ace-Who commented on August 25, 2024

My pleasure and thank you.

from vimfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.