View Single Post
  #2  
Old August 6th 18, 03:27 PM posted to microsoft.public.windowsxp.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default FireFox 52 - Omni.ja - How to read binary JS files ?

R.Wieser wrote:
Hello all,

I'm looking into the "omni.ja" files, to see if I can change a thing or two.
But I've run into a bit of a problem: While searching for a certain string I
got two files back, both named "nsSearchService.js".

The problem is that one is readable (a text file), while the other is not.
Can anyone tel me what the non-text version is for ?

And assuming its some kind of pre-compiled version of the text version, what
tool do I need to re-compile the text version into it ?

Regards,
Rudy Wieser

P.s.
I know news.mozilla.org exists. Alas, my previous posts there have been
met with dead silence. Hence my trying here.



Google has an entry for omni.ja . Not sure how omni.ja is
going to help you. And contrary to the description here,
my copy of 7ZIP does open the file for reads.

https://developer.mozilla.org/en-US/...ly_omni.jar%29

The browser usually has a JIT compiler. I couldn't even tell
you what it compiles to... Or how such a file would be
sandboxed, to preventing it writing to arbitrary locations
in the file system. Emitting pure x86 code would be
a dangerous thing.

You should try feeding the files to a Linux "file" command,
and get a declaration of their "type".

It's also possible nsSearchService.js is deprecated. Perhaps
download the tarball for 52.9.0 ESR and have a look ? Do
you have the tarball yet ? I usually load it up on a
RAMDisk, if the plan is to search it more than once.
It still doesn't search very fast, but it's better
than beating the **** out of a hard drive.

The 204MB file.

http://releases.mozilla.org/pub/fire...9.0esr/source/

Paul
Ads