07/08/31 12:50:20 3hmlBW960
>>277 これでどうですか
(function () {
setTimeout(function(){
// move find bar to the top
// thanks to Zoolcar9 for this code
var tabbrowser = document.getElementById('content');
var tabpanels = tabbrowser.mPanelContainer;
var findbar = document.getElementById('FindToolbar');
tabpanels.parentNode.insertBefore(findbar, tabpanels);
findbar.setAttribute("style", "-moz-border-top-colors: none;-moz-border-bottom-colors: none;border-top: 0px solid;border-bottom: 0px solid;");
var spacer = document.createElement('toolbarspring');
findbar.appendChild(spacer);
if(typeof Components.classes['@piro.sakura.ne.jp/xmigemo/core;1'] != 'undefined'){
var XMigemoFindbar = document.getElementById('XMigemoFindToolbar');
//spacer.setAttribute('flex','1');
findbar.appendChild(XMigemoFindbar);
XMigemoFindbar.setAttribute("style", "-moz-border-top-colors: none;-moz-border-bottom-colors: none;");
document.getElementById('find-migemo-mode-box').setAttribute("style", "");
try{
XMigemoFindbar.removeAttribute('collapsed')
document.getElementById('find-migemo-mode-box').removeAttribute('hidden')
}catch(e){}
}
// move close button right
//findbar.appendChild(document.getElementById("find-closebutton"));
},0);
})();