![]() |
Prefs.js for Firefox on N900
Ok, i installed Firefox on My N900.
Here is what i want to do. I play an online game , astro empires. The game has the ability to use "graphic packs" so as to llok different from the way it was originaly designed, allowing users to make the game more to their liking. Essentialy, the browser has to know to load images from the local hard drive to display them in the browser windows. There are some settings you need to do in the game itself, such as, letting the game know it uses graphics pack, and also, in the game settings, you input the path of the images from the local disk, as you can see in the image. http://i144.photobucket.com/albums/r...troEmpires.jpg Now, to let the browser know he must load images from the local hard drive, i have to make a modification in the "prefs.js" file on mozilla firefox that i use on my windows PC. The modification must be done while the browser is closed. The lines that i have to add are the following: user_pref("capability.policy.localfilelinks.checkl oaduri.enabled", "allAccess"); user_pref("capability.policy.localfilelinks.sites" , "http://alpha.astroempires.com http://beta.astroempires.com http://ceti.astroempires.com http://delta.astroempires.com http://epsilon.astroempires.com http://fenix.astroempires.com http://gamma.astroempires.com"); user_pref("capability.policy.policynames", "localfilelinks"); Questions: Does the firefox on my N900 has a similar prefs.js file ? If it has, where is it ? If it doesn't have, do i have to make my own file where i must add the above line, that you may have noticed starts with user_pref Also, the drive on My N900, is it labbeled C like the C drive in windows ? because i need to know that in order to make the neccesary modification. PS, i need a good file manager, you guys happen to know one ? One that lets me acces every folder on the phone, prefferably to see exactly how tha damned thing is structured. |
Re: Prefs.js for Firefox on N900
Install rootsh -package and then mc (midnight commander). Then open terminal and first type "sudo gainroot". After that launch MC by typing "mc".
That should take you far, but be carefull not to **** up your phone ;) |
Re: Prefs.js for Firefox on N900
Quote:
Quote:
Quote:
No offense, but if you don't even know there's no drive letters in linux, you could get yourself in trouble in a hurry. Before you try muckin' around your phone's files with root permissions, best you do some Googling and learn a few linux basics, like basic linux file structure for starters. |
Re: Prefs.js for Firefox on N900
No offense bro. As one lives, one learns. I allready messed up via a software update of the os, and i had to re-"burn" the image on the phone to retun the things to normal.
I see you said the fenec has a similar prefs.js file. Which one is it ? Later Edit: Where do i install midnight commander from ? There isn't in any of teh catalogues. |
Re: Prefs.js for Firefox on N900
Midnight is located in Extras-Devel, it is called mc.
Make sure you dont brick you device, tough guy. |
Re: Prefs.js for Firefox on N900
So, which is the preferences file ? And how can i gain acces to modify it. I tried to copy a modified js file on top on a js file belonging to mozilla and it didn't alllow me to
|
Re: Prefs.js for Firefox on N900
Learn first, do second. You're trying hard to get yourself in trouble by going where you have never gone before. The system refused to let you copy the file as a hint to get a clue first.
If you insist on blastin' around your files without learning some basics first people aren't going to feel inclined to spend their time bailing you out when Bad Things happen. Come back and ask your question about the prefs file after you've made an effort to learn some basic linux concepts. |
Re: Prefs.js for Firefox on N900
Quote:
Now, is there any one else who can actualy give a helping hand. |
Re: Prefs.js for Firefox on N900
Anyone knows which file in the firefox acts as the prefs.js from the desktop version of the browser ?
|
Re: Prefs.js for Firefox on N900
Is there no one out there who has the knowledge i am requesting ?
|
Re: Prefs.js for Firefox on N900
i believe that most people around here haven't firefox installed because microb uses the mozilla-engine too and is way better :)
but i guess it's in the same place as on normal linux installations: /home/user/.mozilla/firefox/$cryptic.default/prefs.js where $cryptic is a mix of a total of 7 letters and numbers, for example "r7hs84m.default" |
Re: Prefs.js for Firefox on N900
thanks for the info, i'm gonna look it up
|
Re: Prefs.js for Firefox on N900
find /home/user -name prefs.js
gives the following results: 1) firefox mobile aka Fennec is here: /home/user/.mozilla/fennec/xxxxxxxx.default/prefs.js 2) for microb (aka default browser) /home/user/.mozilla/microb/xxxxxxxx.default/prefs.js and there is 2 more, for rtcom and nokia-maps, don't need to touch this I guess |
Re: Prefs.js for Firefox on N900
Thanks, it worked.
I managed to make it work. I gave the path linux style and it worked |
| All times are GMT. The time now is 09:48. |
vBulletin® Version 3.8.8