part 1: css fixer for android
-
The fixing of separate css files is processed before they are available to the browser
-
In browser.js, a function named 'TracingListener' is added to get and process css files' content
-
Put all js files into gecko/mobile/android/chrome/content
-
Put jar.mn to gecko/mobile/android/chrome/
-
Build a apk to test it
part 2: how to repack fennec after modifing *.js
-
open repack_config.py, and change value of 'HOME' to your working directory
-
run ./repack.sh
-
the new apk lies in ./output
BTW:
- you can modify all of the three files:browser.js, bootstrap.js and css-browserside.js