阅读:4678回复:11
帮忙修改几个4.0b4下的扩展和脚本吧(8月18日新增:tab关闭不了的问题)
1.是ieview(Cye3s大大已修改好了,见二楼)
http://downloads.mozdev.org/ieview/ieview.xpi 书签右键菜单有“在Internet explore中打开”,但点了没反应。 另外,页面右键菜单上的“用ie打开此页面”和“用ie打开此链接”两个选项,不能隐藏了。以前是遇到页面出前者,遇到链接出后者的。 2.是updatebookmark.uc.js(还是Cye3s大大,已修改好了,见五楼) http://goaruna.com/pages/files/shared/f ... 1281586671 书签右键能正常显示“更新为当前地址”和“更新为当前地址和标题”,但不工作。update了没有反应。 3.是“4.0b下SearchBox Companion 诡异的高亮 ” https://www.firefox.net.cn/forum/viewtopic.php?t=32594 4.是“升级ff4.0b后,StatusbarEx这个扩张不工作了” http://board.mozest.com/thread-35388-1-1 或者,有更好的替代扩展和脚本也行。先感谢各位高手们了 ![]() 5.“在网页右键菜单增加关闭窗口和关闭标签.uc.js”在4.0b4下失效了: (function() { try { var mContext, SepStop, MenuItem0, MenuItem1, ItemAttr; SepStop = document.getElementById("context-sep-stop"); mContext = document.getElementById("contentAreaContextMenu"); if (SepStop && mContext) { const ItemIDs = [ "menu_closeWindow", "menu_close" ]; for(var n=0; n<2; n++) { MenuItem0 = document.getElementById(ItemIDs[n]); MenuItem1 = document.createElement("menuitem"); MenuItem1.setAttribute("label", MenuItem0.getAttribute( "label")); MenuItem1.setAttribute("command", MenuItem0.getAttribute( "command")); MenuItem1.setAttribute("id", ItemIDs[n]+"_"+n); mContext.insertBefore(MenuItem1, SepStop); } mContext.addEventListener('popupshowing', function (e) { MenuItem0 = document.getElementById("context-reload"); ItemAttr = MenuItem0.getAttribute("hidden"); for(var n=0; n<2; n++) { MenuItem1 = document.getElementById(ItemIDs[n]+"_"+n); if (MenuItem1) MenuItem1.setAttribute("hidden", ItemAttr=='true'); } }, false); } }catch(e) {} })(); |
|
|
1楼#
发布于:2010-08-12 12:51
第一个
http://board.mozest.com/thread-27133-1-1 第二个 我这连菜单都出不来... 你试下把3处node.node;改成node._placesNode; 看行不行 |
|
|
2楼#
发布于:2010-08-12 12:51
等高手修改
|
|
|
3楼#
发布于:2010-08-12 12:51
Cye3s:第一个 第一个改好了。谢谢cye3s! |
|
|
4楼#
发布于:2010-08-12 12:51
晚上仔细折腾了下第2个问题,好像OK了,你测试下
![]() 4.0以下请用LZ的版本,我就不兼容旧版本了 |
|
|
5楼#
发布于:2010-08-12 12:51
|
|
6楼#
发布于:2010-08-12 12:51
|
|
|
7楼#
发布于:2010-08-12 12:51
CYe3e 能把那个StatusbarEx也搞定嘛,这个很好用啊
|
|
8楼#
发布于:2010-08-12 12:51
|
|
9楼#
发布于:2010-08-12 12:51
4 里有VC写的东西,dll的,改不了
5 我这B4没问题啊,菜单有,也能用 |
|
|
10楼#
发布于:2010-08-12 12:51
我在B4下,用页面右键菜单关闭页面(脚本),或者用鼠标手势关闭页面(firegestrue),都会出现这个现象(页面没有关闭,只是tab上的文字消失了): |
|
|
11楼#
发布于:2010-08-12 12:51
|
|