View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#40
Originally Posted by 5spdvl View Post
My problem:

1) open terminal
2) killall browser (no processes killed)
3) sudo gainroot (sometimes changes made in leafpad don't work unless I'm root)
4) leafpad /home/user/.mozilla/microb/prefs.js
5) user_pref("network.protocol-handler.warn-external.sip", false);
user_pref("network.protocol-handler.warn-external.tel", false);
...copied at the bottom of the file.
6) Save
7) Turn off
8) Turn on
9) Check the file again through leafpad as root, changes there
10) Find a phone number in MicroB, not clickable
11) Check file again, changes lost

Why are they not remaining?
There is some more important file somewhere (I think)
I haven't edited prefs.js manually. There is too large potential for misprint.
There is a GUI instead

In MicroB, open page
about:config

Don't be afraid of dragons.

In the filter textbox, type
network.protocol-handler.warn-external.

And set preferences you want to the value you want (false)

Restart MicroB

If phone number in MicroB is not clickable, check in about:config, whether it remembers the preferences.

EDIT: In case a preference you want isn't here, create it (top row in about:config) as Boolean, with value false.
http://kb.mozillazine.org/About:config
https://bugs.maemo.org/show_bug.cgi?id=10404

Last edited by Wikiwide; 2011-01-15 at 10:50.