Thanks for your response! You are right. Javascript is indeep turn on by default, and it works. I do not have flash plugin installed which is the root cause of the prooblem.
my mozconfig is the simplest, as follows:
---- file begin ----
ac_add_app_options browser --enable-application=browser
ac_add_app_options xulrunner --enable-application=xulrunner
ac_add_app_options xulrunner --disable-javaxpcom
ac_add_app_options xulrunner --with-arm-kuser
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --enable-optimize --disable-debug
ac_add_options --enable-safe-browsing
ac_add_options --enable-plugins
ac_add_app_options browser --with-libxul-sdk=../xulrunner/dist
export LDFLAGS="-Wl,-rpath-link,$PWD/dist/bin/:/usr/lib:/lib"
---- file end ----
By the way, can you give me some instructions on how to build a C program as a firefox plugin, or point me to some doc on firefoix plugin requirements?
Regards,
Weidong