Hello all,
I was wondering if anyone knows how to override firefox components. I have tried to override the nsHelperAppDlg.js using the manifest file but it didn't seem to work. This is what I did:
override resource:///components/nsHelperAppDlg.js myextension/components/nsHelperAppDlg.js
I've also tried to modify that file straight from the omni.ja file but that didn't work either. Any ideas?
Thanks,
Mikey
override firefox components
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: override firefox components
Mikey_T wrote:I've also tried to modify that file straight from the omni.ja file but that didn't work either.
Did you remember to purge the caches?
https://developer.mozilla.org/en/Extens ... _4#Caching
https://developer.mozilla.org/en/Settin ... mand_flags
-
- Guest
Re: override firefox components
Yes, I did.
firefox -purgecaches
That doesn't seem to take affect either By the way, i'm using firefox 10.0.2
firefox -purgecaches
That doesn't seem to take affect either By the way, i'm using firefox 10.0.2
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: override firefox components
Try to manually purge everything in the cache parent directory.
i.e.
Cache folder
OfflineCache folder
startupCache folder
urlclassifier.pset file
urlclassifier3.sqlite file
The about:cache page shows the cache directory.
i.e.
Cache folder
OfflineCache folder
startupCache folder
urlclassifier.pset file
urlclassifier3.sqlite file
The about:cache page shows the cache directory.
-
- Guest
Re: override firefox components
I have even tried to rename some of the component files from omni.ja/components and everything still seems to be working properly. Maybe Firefox doesn't use those files? I cleared all the caches. I'm just stumped
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: override firefox components
Dave Townsend wrote:Basically everything under the jsloader directory of omni.jar is a binary version of a shipped component or module.
https://bugzilla.mozilla.org/show_bug.cgi?id=691847#c50
* components/nsHelperAppDlg.js
* jsloader/resource/gre/components/nsHelperAppDlg.js
I do not know how to compile these binary files.
Mikey_T wrote:tried to override the nsHelperAppDlg.js using the manifest file
Override component - possible?
https://groups.google.com/forum/#!topic ... YEBviCniB8
Remember Passwords extension overrides components/nsLoginManager.js
https://addons.mozilla.org/firefox/addon/331315