阅读:1466回复:1
求助:查找栏findbar的两个小脚本(findbar on top和Ctrl+F Toggle findbar)失效了
在b12pre上失效了.
哪位给修一下,谢谢. /* Find bar on top */ (function () { var findbar = document.getElementById('FindToolbar'); //move findbar to the top var tabpanels = gBrowser.mPanelContainer; tabpanels.parentNode.insertBefore(findbar, tabpanels); //bottom border findbar.setAttribute("style", "-moz-border-bottom-colors: none; border-top: 0px; border-bottom: 1px solid ThreeDShadow; max-height: 21px !important; min-height: 21px !important; margin:-4px 0px 0px 0px !important;"); })(); // Toggle findbar function toggleFindbar() { if (gIeTab.goDoCommand('find')) return; if (document.getElementById('FindToolbar').hidden==true) { gFindBar.onFindCommand(); } else gFindBar.close(); } document.getElementById("cmd_find").setAttribute("oncommand", "toggleFindbar();"); |
|
|
1楼#
发布于:2011-02-22 11:10
同求。。。。。。。
|
|