To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
ĐóngChào mừng đến với tiện ích Firefox.
Choose from thousands of extra features and styles to make Firefox your own.
ĐóngĐánh giá cho XPCOMViewer bởi anttix
Rated 4 out of 5 stars
This tool is a must-have for any FF extension developer.
Unfortunately it manages to break page layout on FF 3.0.
Here is how to fix it.
Go to Firefox Profile directory.
Locate extensions/xpcomviewer@ondrejd.com/chrome/xpcomviewer.jar
Uncompress it (using zip) to a temporary folder.
Edit content/xv.js and comment out or delete the following block:
// ==========
// XXX Only for debugging. Comment this in release version!!!
try {
var _prefs = Components.classes ["@mozilla.org/preferences-service;1"].
getService(Components.interfaces.nsIPrefService).
getBranch("");
_prefs.setBoolPref("browser.dom.window.dump.enabled", true);
_prefs.setBoolPref("javascript.options.showInConsole", true);
_prefs.setBoolPref("javascript.options.strict", true);
_prefs.setBoolPref("nglayout.debug.enable_xbl_forms", true);
_prefs.setBoolPref("nglayout.debug.disable_xul_cache", true);
_prefs.setBoolPref("nglayout.debug.disable_xul_fastload", true);
} catch(e) {}
// ==========
Re-compress your changes to xpcomviewer.jar
Also You want to remove the preferences set by this code
from Your prefs.js or by using about:config
Good luck!
Để tạo ra bộ sưu tập của riêng mình, bạn phải có một tài khoản trên Tiện ích Mozilla.