<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=78.34.70.232</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=78.34.70.232"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/78.34.70.232"/>
	<updated>2026-04-22T04:44:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=MicroB_tweaks&amp;diff=25831</id>
		<title>MicroB tweaks</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=MicroB_tweaks&amp;diff=25831"/>
		<updated>2011-02-12T13:18:27Z</updated>

		<summary type="html">&lt;p&gt;78.34.70.232: /* Also see */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(Maemo 4 only. Maemo 5 status not clear at this time of writing.)&lt;br /&gt;
&lt;br /&gt;
MicroB is the default browser in Maemo 4. While there are alternative browsers for Maemo 4 such as [[Tear]] and [[Firefox mobile]] some users prefer MicroB.&lt;br /&gt;
&lt;br /&gt;
It is possible to tweak the performance and behaviour of MicroB. Please continue to read for some suggestions.&lt;br /&gt;
&lt;br /&gt;
MicroB, being a [[:wikipedia:Mozilla|Mozilla]] based browser, has the same settings as Firefox. These settings are stored in the file &amp;lt;code&amp;gt;/home/user/.mozilla/microb/prefs.js&amp;lt;/code&amp;gt;. Only a few of these settings can be changed from the MicroB menus. To change the others open the url about:config in MicroB to edit them one-by-one, or edit prefs.js.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
Even though many of the settings only make sense on a notebook or desktop pc, there are some that can be useful for the Internet Tablets.&lt;br /&gt;
&lt;br /&gt;
Removes cookies when closing MicroB (allow only for session). This only applies to new cookies. To also delete earlier cookies go to Tools -&amp;gt; clear -&amp;gt;cookies in MicroB:&lt;br /&gt;
&lt;br /&gt;
 network.cookie.lifetimePolicy 2&lt;br /&gt;
&lt;br /&gt;
Activates smooth scrolling. This is useful when the [http://www.internettablettalk.com/wiki/index.php?title=Internet:Microb_Hardware_Key_bindings d-pad is configured for scrolling]:&lt;br /&gt;
&lt;br /&gt;
 general.smoothScroll true&lt;br /&gt;
&lt;br /&gt;
Lets you select the contents of the urlbar with one click, instead of the default triple click:&lt;br /&gt;
&lt;br /&gt;
 browser.urlbar.clickSelectsAll true&lt;br /&gt;
&lt;br /&gt;
Sets minimum and default font size in points, in this case 20 points. Depending on the language you use also set font.min-size.fixed.ja (japanese) etc.:&lt;br /&gt;
&lt;br /&gt;
 font.min-size.fixed.x-western 20&lt;br /&gt;
 font.min-size.fixed.x-unicode 20&lt;br /&gt;
 font.min-size.variable.x-western 20&lt;br /&gt;
 font.min-size.variable.x-unicode 20&lt;br /&gt;
 font.size.variable.x-western 20&lt;br /&gt;
 font.size.fixed.x-unicode 20&lt;br /&gt;
&lt;br /&gt;
Speed tweaks specific for the Internet Tablets:&lt;br /&gt;
&lt;br /&gt;
 browser.cache.memory.capacity 8192&lt;br /&gt;
 browser.sessionhistory.max_entries 4&lt;br /&gt;
 content.notify.interval 1250000&lt;br /&gt;
 content.notify.ontimer true&lt;br /&gt;
 network.http.max-connections 4&lt;br /&gt;
 network.http.max-connections-per-server 4&lt;br /&gt;
 network.http.max-persistent-connections-per-server 1&lt;br /&gt;
 network.http.pipelining.maxrequests 1000&lt;br /&gt;
 network.http.pipelining true&lt;br /&gt;
 nglayout.initialpaint.delay 2000&lt;br /&gt;
&lt;br /&gt;
For an explanation of these and other settings in about:config see [http://www.tweakguides.com/Firefox_10.html this article.]&lt;br /&gt;
&lt;br /&gt;
== Editing  prefs.js ==&lt;br /&gt;
&lt;br /&gt;
To edit it on the tablet itself:&lt;br /&gt;
 &lt;br /&gt;
* if you don&#039;t have root access already install &#039;rootsh&#039; through the application manager&lt;br /&gt;
* if you don&#039;t have &#039;nano&#039; installed get it with application manager&lt;br /&gt;
* close all MicroB windows&lt;br /&gt;
* open xterm&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon stop &lt;br /&gt;
 exit&lt;br /&gt;
 cd .mozilla/microb&lt;br /&gt;
 cp prefs.js prefs.js.backup&lt;br /&gt;
 nano prefs.js&lt;br /&gt;
&lt;br /&gt;
* scroll to the line you want to change/add and type the changes. Be careful to use the exact format user_pref(&amp;quot;nameofthesetting&amp;quot;, thevalue); . If you leave out one &#039;;&#039; , &#039;(&#039; etc. then the settings in the file will be ignored by MicroB.  If a setting does not exist then add it yourself.&lt;br /&gt;
* to save the file click ctrl, x, y, return.&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon start&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
If you decide to edit prefs.js on your own computer be sure to:&lt;br /&gt;
&lt;br /&gt;
* run as root &amp;quot;invoke-rc.d tablet-browser-daemon stop&amp;quot; before editing and &amp;quot;invoke-rc.d tablet-browser-daemon start&amp;quot; after editing.&lt;br /&gt;
* use an editor that uses linux style line endings&lt;br /&gt;
* restore the right permissions and ownership of the file when you put it back&lt;br /&gt;
&lt;br /&gt;
== Settings that will not stick ==&lt;br /&gt;
&lt;br /&gt;
Some settings get reset when MicroB starts. This is unfortunate, but you&#039;ll have to live with it.&lt;br /&gt;
&lt;br /&gt;
[[http://mxr.maemo.org/garage/source/browser/mozilla/trunk/microb-eal/include/common.h#70 list of interesting strings]]&lt;br /&gt;
&lt;br /&gt;
Replaced:&lt;br /&gt;
 * snav.keyCode.modifier&lt;br /&gt;
 * general.useragent.locale&lt;br /&gt;
 * general.useragent.vendor&lt;br /&gt;
&lt;br /&gt;
Randomly replaced with the value from plugins.flashhack:&lt;br /&gt;
 * ftv.enabled&lt;br /&gt;
 * snav.ignoreTextFields&lt;br /&gt;
 * snav.disableJS&lt;br /&gt;
 * layout.full.zoom.mode.fast&lt;br /&gt;
 * plugin.default_plugin_disable&lt;br /&gt;
 * security.warn_entering_secure&lt;br /&gt;
 * security.warn_leaving_secure&lt;br /&gt;
 * security.warn_submit_insecure&lt;br /&gt;
&lt;br /&gt;
For any such setting, you can use bookmarks to&lt;br /&gt;
 about:config?prefname={name}&amp;amp;prefvalue={value}&amp;amp;sprefname=donotomit&lt;br /&gt;
&lt;br /&gt;
... and just tap on them or if you only have one you can make it your home page.&lt;br /&gt;
&lt;br /&gt;
== How to restore the default settings==&lt;br /&gt;
&lt;br /&gt;
If you mess up prefs.js or just want the defaults back then either restore the backup file you just made, or delete prefs.js file so MicroB will regenerate it with default settings.&lt;br /&gt;
&lt;br /&gt;
to restore the backup: &lt;br /&gt;
&lt;br /&gt;
* close all MicroB windows&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon stop &lt;br /&gt;
 exit&lt;br /&gt;
 cd .mozilla/microb&lt;br /&gt;
 cp prefs.js.backup prefs.js&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon start&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
...or to delete prefs.js:&lt;br /&gt;
&lt;br /&gt;
* close all MicroB windows&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon stop &lt;br /&gt;
 rm /mozilla/microb/prefs.js&lt;br /&gt;
 invoke-rc.d tablet-browser-daemon start&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
== Also see ==&lt;br /&gt;
&lt;br /&gt;
* [[Ad_blocking]]&lt;br /&gt;
* [http://www.internettablettalk.com/forums/showthread.php?t=24405 Selectively disable JavaScript in MicroB]&lt;br /&gt;
* [http://browser-extras.garage.maemo.org Browser-Extras, for MicroB extensions]&lt;br /&gt;
&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
[[Category:Web]]&lt;br /&gt;
[[Category:Power users]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IT IS BETTER TO NOT EDIT prefs.js directly but to touch and user.js. All configuration of user.js will be added to prefs.js during start-up!&lt;/div&gt;</summary>
		<author><name>78.34.70.232</name></author>
	</entry>
</feed>