MozTW 討論區
https://forum.moztw.org/

右鍵選單超出螢幕怪現象
https://forum.moztw.org/viewtopic.php?f=2&t=5481
1 頁 (共 1 頁)

發表人:  coolcd [ 2005-01-02, 04:52 ]
文章主題 :  右鍵選單超出螢幕怪現象

灌了很多 Extension
卻一直有個困擾
每當在螢幕中間偏上的地方按右鍵時
總是會出現右鍵選單的選項超出螢幕上限的怪現象
相反的 在偏下方的地方按右鍵就沒有問題
並不會超出螢幕下限

反反覆覆安裝又反安裝許多 Extensions 後發覺
似乎只要右鍵選單的選項超出一定數目後 就會發生此現象
並不是特定的 Extension 所造成的

也開過新 Profile 測試
預設的佈景主題
安裝 Adblock, Text/Plain 即會造成此現象

您可以重複我的步驟
開一個新 Profile
安裝完這兩個 Extension 後
打開一個有純文字網址的網頁
選擇文字網址
在中央偏上一點點的地方找個圖片鏈結按右鍵
就可以看到右鍵選單超出螢幕上限的現象

不曉得這是 Extension 造成的錯誤
還是 Firefox 的 Bug?
在 Mozilla Zine 也看過有人問過類似問題
不過似乎沒有抓出原因

目前我的解法也只有去掉右鍵選單內不常用的選項
最簡單的方法是安裝 Menu Editor
隱藏不常用的選項

發表人:  ghost [ 2005-01-02, 07:33 ]
文章主題 : 

我也一直受這問題困擾.
個人一直以為是安裝太多套件了.

coolcd 寫:
灌了很多 Extension
卻一直有個困擾
每當在螢幕中間偏上的地方按右鍵時
總是會出現右鍵選單的選項超出螢幕上限的怪現象
相反的 在偏下方的地方按右鍵就沒有問題
並不會超出螢幕下限

發表人:  ghost [ 2005-01-04, 14:24 ]
文章主題 : 

有人回報 BUG.
https://bugzilla.mozilla.org/show_bug.cgi?id=267821
(看外國人吵架蠻好玩的)

另外, 使用 MENUEDITOR 雖然可以減少這情況發生
但我用 MENUEDITOR 與 LAUNCHY 相衝突.

安裝 MENUEDITOR 後
LAUNCHY 的 CONTEXT MENU 就無法產生.

發表人:  coolcd [ 2005-01-04, 20:31 ]
文章主題 : 

套件衝突的話試試看修改 userChrome.css
Mozillazine 以前有人 po 過
不過不知道那些 Item 名稱 只是對英文版有效
或者對中文版也有用
小弟很懶惰 看了後也沒去試

:wink:

代碼:
/* =============== Context Menu Options Removal */

/* To show item place /* in front of it (see below) */

/* =============== Remove Items In Context Menu: WEB PAGE */
/*#context-back, /* "Back" */
/*#context-forward, /* "Forward" */
/*#context-reload, /* "Reload" */
/*#context-stop, /* "Stop" */
/*#context-sep-stop, /* Separator Below "Stop" */
/*#context-bookmarkpage, /* "Bookmark This Page..." */
/*#context-savepage, /* "Save Page As..." */
/*#context-sendpage, /* "Send Page..." */
/* =============== Remove Items In Context Menu: LINKS */
/*#context-openlink, /* "Open Link in New Window" */
/* #context-openlinkintab, /* "Open Link in New Tab" */
/*#context-sep-open, /* Separator Below "Open Link in New..." */
/*#context-bookmarklink, /* "Bookmark This Link..." */
/*#context-savelink, /* "Save Link to Disk..." */
/*#context-sendlink, /* "Send Link..." */
/* #context-copylink, /* "Copy Link Location" */
/* #context-copyemail, /* "Copy Email Address" */
/* #context-sep-copylink, /* Separator Below Link Items */
/* =============== Remove Items In Context Menu: IMAGES */
/*#context-viewimage, /* "View Image" */
/* #context-copyimage, /* "Copy Image Location" */
/*#context-copyimage-contents, /* "Copy Image to Clipboard" */
/*#context-sep-copyimage, /* Separator Below "Copy Image location" */
/* #context-saveimage, /* "Save Image As..." */
/*#context-sendimage, /* "Send Image..." */
/*#context-setWallpaper, /* "Set As Wallpaper" */
/*#context-blockimage, /* "Block Images from this Server" */
/*#context-sep-viewbgimage, /* Separator Above "View Background Image" */
/*#context-viewbgimage, /* "View Background Image" */
/* =============== Remove Items In Context Menu: TEXT */
/* #context-undo, /* "Undo" */
/* #context-sep-undo, /* Separator Below "Undo" */
/* #context-cut, /* "Cut" */
/* #context-copy, /* "Copy" */
/* #context-paste, /* "Paste" */
/* #context-delete, /* "Delete" */
/* #context-sep-paste, /* "Separator Below "Delete" */
/*#context-selectall, /* "Select All" */
/*#context-sep-selectall, /* "Separator Below "Select All" */
/*#context-searchselect, /* "Web Search  for..." */
/* #context-viewpartialsource-selection, /* "View Selection Source" */
/* =============== Remove Items In Context Menu: EXTRA */
/*#frame-sep, /* Separator Above "This Frame" */
/* #frame, /* "This Frame" */
/* #context-viewpartialsource-mathml, /* "View MathML Source" */
/*#context-sep-properties, /* Separator Above Properties Items */
/* #context-viewsource, /* "View Page Source" */
/*#context-viewinfo, /* "View Page Info" */
/*#context-metadata /* "Properties" */
{ display: none; !important; }

/* =============== Remove Items In Context Menu: BOOKMARKS */
/*#bookmarks-context-menu menuitem[label="Expand"],
/*#bookmarks-context-menu menuitem[label="Open"],
/*#bookmarks-context-menu menuitem[label="Open in Tabs"],
/* #bookmarks-context-menu menuitem[label="Manage Folder"] + menuseparator, */
/*#bookmarks-context-menu menuitem[label="New Folder..."] + menuseparator,
/*#bookmarks-context-menu menuitem[label="Open in New Window"],
/*#bookmarks-context-menu menuitem[label="Open in New Tab"],
/*#bookmarks-context-menu menuitem[label="Open in New Tab"] + menuseparator,
/*#bookmarks-context-menu menuitem[label="Cut"],
/*#bookmarks-context-menu menuitem[label="Copy"],
/*#bookmarks-context-menu menuitem[label="Paste"],
/*#bookmarks-context-menu menuitem[label="Paste"] + menuseparator
{ display: none; }

/* =============== End Context Menu Options Removal */


:roll:

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/