commandline._commandWidget.inputField.QueryInterface(Ci.nsIDOMNSEditableElement); let top = bottombar.boxObject.y + bottombar.boxObject.height; // top or bottom styles.addSheet(false, "topbar", "chrome://*", ".liberator-floatbox {top: " + top + "px!important; bottom: auto !important;"); //styles.addSheet(false, "topbar", "chrome://*", ".liberator-floatbox {bottom: 0!important;"); })(); top 側 toolbar 等の表示等で高さ変わるのは無視