2020国产成人精品视频,性做久久久久久久久,亚洲国产成人久久综合一区,亚洲影院天堂中文av色

分享

Mozilla Firefox : 提示 & 技巧

 jllu_7 2005-09-30

如果您用的系統(tǒng)是 Windows XP 并且想用默認(rèn)的菜單類型, 把下面的代碼加到 userChrome.css 文件:

/* Make menus XP style */
menupopup, popup {
   border: 1px solid ThreeDShadow !important;
   -moz-border-left-colors: ThreeDShadow !important;
   -moz-border-top-colors: ThreeDShadow !important;
   -moz-border-right-colors: ThreeDShadow !important;
   -moz-border-bottom-colors: ThreeDShadow !important;
   padding: 1px !important;
   background-color: Menu !important;
}
menubar > menu {
   border: 1px solid transparent !important;
   padding: 2px 5px 2px 7px !important;
   margin: 0 !important;
}
menubar > menu[_moz-menuactive="true"] {
   background-color : Highlight !important;
   color: HighlightText !important;
}

用經(jīng)典的windows (9x/Me/2000) 菜單

不幸的是,目前默認(rèn)的菜單類型是 Windows XP 和原先舊版本 Windows3D 外觀的折衷,如果您想要 Windows 經(jīng)典的外觀,把下面的代碼加到 userChrome.css 文件:

/* Windows Classic (9x/Me/2000) style Menus */
menupopup, popup {
   border: 2px solid !important;
   -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
   -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
   padding: 1px !important;
}
menubar > menu[disabled="true"] {
   border: 1px solid transparent !important;
}
menubar > menu[_moz-menuactive="true"] {
   border-top: 1px solid ThreeDHighlight !important;
   border-right: 1px solid ThreeDShadow !important;
   border-bottom: 1px solid ThreeDShadow !important;
   border-left: 1px solid ThreeDHighlight !important;
   background-color: transparent !important;
   color: MenuText !important;
}
menubar > menu[_moz-menuactive="true"][open="true"] {
   border-top: 1px solid ThreeDShadow !important;
   border-right: 1px solid ThreeDHighlight !important;
   border-bottom: 1px solid ThreeDHighlight !important;
   border-left: 1px solid ThreeDShadow !important;
}

用自己的圖片做工具欄的背景

除了改變主題以外,您頁可以用自己的圖片做工具欄的背景。  把下面的代碼加到 userChrome.css 文件:

/* Use a background image for the toolbars:
(Substitute your image file for background.gif) */

menubar, toolbox, toolbar, .tabbrowser-tabs {
   background-image: url("background.gif") !important;
   background-color: none !important;
}

可以把圖片放在 userChrome.css 文件一樣的目錄下. 圖片格式可以是Mozilla Firefox 支持的任意格式。

使動態(tài)的標(biāo)簽頁更易區(qū)分

為了使動態(tài)的標(biāo)簽頁和已經(jīng)打開的標(biāo)簽頁更易區(qū)分開(通過顏色)來把下面的代碼加到, userChrome.css 文件:

/* Change color of active tab */
tab[selected="true"] {
   background-color: rgb(222,218,210) !important;
   color: black !important;
}

/* Change color of normal tabs */
tab {
   background-color: rgb(200,196,188) !important;
   color: gray !important;
}

不在動態(tài)標(biāo)簽也上使用粗體文本

如果您不想在動態(tài)標(biāo)簽頁上使用粗體,加下面的代碼到  userChrome.css 文件:

/* Make the active tab easier to distinguish: */
tab[selected="true"] {
   font-weight: normal !important;
}

從標(biāo)簽欄刪除“關(guān)閉”按鈕,

您可以把“關(guān)閉”按鈕從標(biāo)簽欄刪除,把下面代碼加到  userChrome.css :

/* Remove the close button on the tab bar */
.tabs-closebutton {
   display: none !important;
}

仍然可以關(guān)閉標(biāo)簽頁,右擊標(biāo)簽頁選擇“關(guān)閉標(biāo)簽”或按 Ctrl+W

Remove items from the main menu

有些人為了節(jié)省水平空間喜歡把工具欄象菜單一樣豎立的放置, 把下面代碼加到r userChrome.css :

/* Remove the Go and Help menus */
menu[label="Go"],
menu[label="Help"] {    display: none !important; }

改變窗口圖標(biāo)

Mozilla Firefox 默認(rèn)沒有使用自己圖標(biāo)而是 Mozilla 圖標(biāo),在一些系統(tǒng)里系統(tǒng)圖標(biāo)被使用,如果您想使用自己圖標(biāo),遵循下面的方法

  1. 進(jìn)入您安裝 Mozilla Firefox的目錄  (如 >C:\Program Files\Firefox\) 下的子目錄  chrome.
  2. 建立子目錄icons, 在它里面生成子目錄 default.
    完整的目錄現(xiàn)在是 C:\Program Files\Firefox\chrome\icons\default\
  3. 選擇您想使用的圖標(biāo) (在 Windows 平臺用 .ico 文件, 在Linux 平臺xpm 文件) 放到這個目錄重命名為r and  main-window.[文件類型], e.g. main-window.ico 在 Windows and在linux main-window.xpm

In addition to the main window, you can also change the icon on the Bookmark Manager and JavaScript Console. The icon names are bookmark-window.[filetype] and jsconsoleWindow.[filetype], respectively.

在右邊顯示側(cè)欄

為了在右邊顯示側(cè)欄而不是在左邊, 把下面代碼加到 userChrome.css 文件:

/* Place the sidebar on the right edge of the window */
window > hbox {
   direction:rtl;
}
window > hbox > * {
   direction:ltr;
}

改變搜索條的寬度

搜索條默認(rèn)相對比較小,您可以自己以特定數(shù)量的像素指定它的寬度,下面代碼加到 userChrome.css 文件:

/* Make the Search box flex wider */
#search-container {
   -moz-box-flex: 400 !important;
}

? 返回目錄


瀏覽器外觀

Open external links in new windows or tabs

如果有外部的程序要在默認(rèn)的瀏覽器里打開網(wǎng)頁,Mozilla Firefox用一個幾經(jīng)存在的窗口打開它,這意味瀏覽器可能從一個您正在瀏覽的頁面跳轉(zhuǎn),如果不希望這發(fā)生,加下面的代碼到 user.js 文件:

// Stop reusing active windows:
user_pref("advanced.system.supportDDEExec", false);

想打開新標(biāo)簽頁而不是窗口怎么辦那?What about new tabs instead of windows then? If you prefer tabs instead of windows, 您必須安裝Tabbrowser Extensions, 它是一個強(qiáng)有力的標(biāo)簽式瀏覽的擴(kuò)展,安裝完后按下面的指令來做 

  1. 確保不要忘記把上面的代碼加到 user.js 文件.
  2. 選擇 工具》選項(xiàng)》擴(kuò)展, 選擇 標(biāo)簽式瀏覽 單擊 設(shè)置.
  3. 展開目錄列表選擇最上面的子目錄
  4. 在“窗口”模式下下拉列表,選擇“打開時用多個瀏覽器”

現(xiàn)在外部的程序打開鏈接時就會在新的標(biāo)簽頁打開。

使標(biāo)簽欄一直顯示

當(dāng)只有一個標(biāo)簽頁的時候標(biāo)簽欄就會隱藏. 為了使標(biāo)簽欄一直顯示, 加下面的代碼到r user.js 文件:

// Disable tab bar autohide feature:
user_pref("browser.tabs.autoHide", false);

注意當(dāng)只有一個標(biāo)簽頁時您仍然可以通過單擊“關(guān)閉” X 隱藏標(biāo)簽欄

取消 target="_blank"

Mozilla Firefox 默認(rèn)有一個內(nèi)建的阻止彈出窗口的過濾器,但當(dāng)用target="_blank"或無效的target="_new"打開新窗口時它停止網(wǎng)頁,為了在同一窗口打開鏈接,加下面的代碼到 f user.js 文件:

// disable target="_blank" (open in same window):
user_pref("browser.block.target_new_window", true);

關(guān)閉圖像自動縮放功能

當(dāng)這一特性打開時, 它會縮小圖像以使比圖像小的窗口可以容下圖像. 為了關(guān)閉這以功能加下面的代碼到  user.js 文件:

// Turn off Automatic Image Resizing:
user_pref("browser.enable_automatic_image_resizing", false);

用錯誤頁而不是對話框顯示

當(dāng)聯(lián)結(jié)失敗時Mozilla Firefox 默認(rèn)不是象IE一樣顯示錯誤頁,而示顯示惱人的錯誤信息,要顯示錯誤頁而不是錯誤信息,加下面的代碼到  user.js 文件:

// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);

.

用下載管理器而不是進(jìn)度窗口

下載文件時, Mozilla Firefox 默認(rèn)顯示進(jìn)度窗口,如果同時下載多個文件,這些窗口會弄亂您的桌面的,而下載管理器則不會,加下面的代碼到 user.js 文件起用下載管理器:

// Instead of download progress windows, use the Sidebar:
user_pref("browser.download.openSidebar", true);
user_pref("browser.download.useProgressDialogs", false);

用好輸入查找功能

Find As You Type功能, Mozilla 新介紹的一個新功能, 有一些適合您需要的隱藏功能, 加下面的代碼到ruser.js 文件:

// Find As You Type Configuration:
// Set this pref to false to disable Find As You Type:
user_pref("accessibility.typeaheadfind", true);
// If you set this pret to true, typing can automatically start Find As You Type.
// If false (default), you must hit / (find text) or ‘ (find links) before your search.
user_pref("accessibility.typeaheadfind.autostart", true);
// Set this pref to false if you want Find As You Type to search normal text too:
user_pref("accessibility.typeaheadfind.linksonly", true);
// Set this pref to true if you require that the link starts with the entered text:
user_pref("accessibility.typeaheadfind.startlinksonly", false);
// This is the time in milliseconds for the Find As You Type to stop watching for keystrokes:
user_pref("accessibility.typeaheadfind.timeout", 3000);

要了解更多關(guān)于 Find As You Type is功能, 查看 documentation.

平滑滾動

Mozilla Firefox 0.6 默認(rèn)有一個平滑滾動的功能,要打開或關(guān)閉這一特性,加下面的代碼到 Scrollinguser.js 文件:

// Smooth Scrolling (true = on, false = off):
user_pref("general.smoothScroll", true);

禁止其它 JavaScript 窗口特性

Mozilla Firefox 有一些選項(xiàng)來決定那些scripts可以在窗口使用,這些選項(xiàng)在“工具”》選項(xiàng)》網(wǎng)頁特效》高級,這而的選項(xiàng)沒有包含全部的特效,還有其它的一些特效可以使用:

// More DOM/JavaScript options

// Make sure all pop-up windows are resizable:
user_pref("dom.disable_window_open_feature.resizable", true);

// Make sure all pop-up windows are minimizable:
user_pref("dom.disable_window_open_feature.minimizable", true);

// Always display the menu in pop-up windows:
user_pref("dom.disable_window_open_feature.menubar", true);

// Always display the Navigation Toolbar in pop-up windows:
user_pref("dom.disable_window_open_feature.location", true);

使用Netscape 6/7 或 Mozilla 書簽

如果您正在使用 Netscape 6/7 或 Mozilla, 您可以 使 Mozilla Firefox 使用這些書簽. 所有的書簽保存在一個名為 bookmarks.html 的文件里,例如,如果您想在 Firefox 里使用Netscape 7的書簽,加下面的代碼到 user.js 文件:

// Specify which bookmarks file to use:
user_pref("browser.bookmarks.file", "C:\\Path To Netscape Profile\\bookmarks.html");

Remember to use two backslashes for the path separators if you‘re using Windows, e.g. C:\\Path\\bookmarks.html instead of C:\Path\bookmarks.html.

改變地址欄的搜索模式

默認(rèn)情況下在搜索欄輸入關(guān)鍵字按回車,將執(zhí)行一個B  "I‘m Feeling Lucky" 搜索,如果您想使用標(biāo)準(zhǔn)的搜索模式,加下面的代碼到,   user.js 文件:

// Change to normal Google search:
user_pref("keyword.URL", "http://google.com/search?btnG=Google+Search&q=");

當(dāng)然可以通過改變特定字符串來改變搜索引擎,默認(rèn)的是: "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=".

禁止書簽圖標(biāo)

您可以禁止書簽圖標(biāo)的顯示加下面的代碼到 user.js 文件:

// Disable Bookmark Icons
user_pref("browser.chrome.site_icons", false);
user_pref("browser.chrome.favicons", false);

改變 throbber URL

當(dāng)您單擊 throbber, 瀏覽器會聯(lián)向 www.mozilla.org. 這以網(wǎng)址可以改變,加下面的代碼到  user.js 文件:

// Click on throbber to go to Mozilla Firefox Help:
user_pref("browser.throbber.url", "http:///firefox/");

不在地址欄保存 URLs

Mozilla Firefox 允許您輸入的地址不出現(xiàn)在地址欄的下拉菜單里面,這可以保護(hù)您的隱私,

Andrew Mutch 寫了如何作到這些的材料.  見這兒.

?返回目錄


網(wǎng)頁外觀

禁止廣告

網(wǎng)站上的廣告是惱人的,下面的代碼可以阻止大部分的廣告,由于這代碼較長放到其它頁了看,

separate page.

禁止閃爍元素

您也許不想看到上面閃爍的元素. 為了阻止它, 加下面的代碼到 user.js 文件:

// Put an end to blinking text!
user_pref("browser.blink_allowed", false);

禁止 <marquee> 標(biāo)簽

一些網(wǎng)站用卷動的標(biāo)簽 . 如果您覺的它沒用的話加下面代碼來禁止它,加到 userContent.css 文件:

/* Stop those <marquee> tags! */
marquee {
   -moz-binding : none !important;
   display : block;
   height : auto !important;
}

If you added the code, this text should not scroll after restarting Mozilla Firefox.

使框架大小可變

許多網(wǎng)站用框架來顯示目錄,有時候這些框架太小了. 為了使這些框架大小可變, 加到 user.js 文件:

// Force frames to be resizable
   user_pref("layout.frames.force_resizability", true);

注意有時候它會使您的頁面變的比較滑稽:)

修改打開新窗口鏈接的光標(biāo)

在打開一個新窗口時,這個提示將改變鼠標(biāo)當(dāng)經(jīng)過鏈接時,執(zhí)行一個 JavaScript 命令. 加到 userContent.css 文件:/* Change cursor for links that open in new window */
:link[target="_blank"], :visited[target="_blank"], :link[target="_new"], :visited[target="_new"] {
   cursor: crosshair;
}

修改 JavaScript 鏈接的光標(biāo)

這個提示將改變鼠標(biāo)當(dāng)經(jīng)過鏈接時,執(zhí)行一個 JavaScript 命令. 加到 userContent.css 文件:

/* Change cursor for JavaScript links */
a[href^="javascript:"] {
   cursor: move;
}

?返回目錄


其它提示

改變網(wǎng)頁的語言

一些網(wǎng)站提供多國語言的版本,您可以按優(yōu)先順序選擇語言,要改變優(yōu)先順序,您不得不知道各國語言的語言代碼如瑞典語代碼是sv,下面的例子是user.js里的一個。:

// Change language to Swedish (default is "en, en-us")
user_pref("intl.accept_languages", "sv, en, en-us");

注意: 選項(xiàng)窗口中有一個request 域用于存放此選項(xiàng)。

選擇和復(fù)制獨(dú)立的表格單元

當(dāng)按下Ctrl 健, 您可以選擇表格單元. J您頁可以選擇多個表格單元 一旦選好后您可以象文本一樣復(fù)制和粘貼您選擇的內(nèi)容 。

加速網(wǎng)頁顯示

 Mozilla Firefox 默認(rèn)不顯示頁面在 250毫秒, 因?yàn)樗诘却龜?shù)據(jù). 如果把下面的代碼加到  user.js 文件, Mozilla Firefox 立即顯示網(wǎng)頁, 即使沒有完成的數(shù)據(jù) 它的缺點(diǎn)是在一個慢的機(jī)器上由于“回流”使得整個頁面的裝載時間長了。

// This one makes a huge difference. Last value in milliseconds (default is 250)
user_pref("nglayout.initialpaint.delay", 0);

起用線性管道 Pipelining

Pipelining 是一個實(shí)驗(yàn)中的特性, 它設(shè)計(jì)來提高網(wǎng)頁裝載效率, 不幸的是不是所有的網(wǎng)站和代理都支持它, servers and想試用它的話加下面的代碼到 user.js 文件:

// Enable pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 100);

指定保存緩存的位置

為了指定緩存保存在那一個目錄, 加代碼到 user.js 文件:

// Path to Cache folder:
user_pref("browser.cache.disk.parent_directory","C:\\Path To Cache");

記得用2個斜杠做路徑的分割符, i如果您使用 Windows, e.g. C:\\Path To Cache 而不是 C:\Path\Path To Cache.

指定內(nèi)存緩存的用處,

一般地, Mozilla Firefox 根據(jù)有效內(nèi)存的多少來判斷緩存的用處,為了指定特定數(shù)量的內(nèi)存緩存,加代碼到 .  user.js 文件:

// Specify the amount of memory cache:
// -1 = determine dynamically (default), 0 = none, n = memory capacity in kilobytes
user_pref("browser.cache.memory.capacity", 4096);

完全禁止內(nèi)存緩存,用下面的代碼,

// Disable memory cache:
user_pref("browser.cache.memory.enable", false);

訪問更多的首選項(xiàng)

許多首選項(xiàng)沒有在選項(xiàng)窗口體現(xiàn). 下面的鏈接顯示了原始的首選項(xiàng)窗口, chrome://communicator/content/pref/pref.xul.
Note that many of the preferences in this window will have no effect in Mozilla Firefox, such as the Quick Launch option. Also, this window will most probably be removed completely in future versions of Mozilla Firefox.

Kiosk 瀏覽

Andrew Mutch 曾經(jīng)寫過關(guān)于如何修改firefox使它運(yùn)行在 kiosk 模式的向?qū)?

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多