Firefox + pentadactyl for a pure green, efficient and easy to expand browser (while modifying the default status bar style)

Source: Internet
Author: User
Tags open rar file

These days began to use Firefox+pentadactyl to build an open source, extensible, completely green browser environment, in order to carry the use of, which Firefox uses 24.0 of the long-term support version, this version of stable, fast, compatibility good, The point is that the pentadactyl is only supported up to 24.0. On the network to find a half-day, and finally found a real green version of the firefox24.0, as follows:

http://chenxuefeng.net.cn/

This is a personal page called Shura, he green a lot of good things, from which to find 24.0 version of Firefox can.

Download down the compressed package to unzip to a place to enter, unzip the Firefox directory, click! Green tools. exe to run the greening process. To achieve complete greening, the study of the principle of greening found that Firefox in fact all the user-related configuration is placed in a default location of c:\Users\Administrator\AppData\Roaming\ Mozilla\firefox\ directory below, if you want to implement, greening, just need to create a Profile.ini file in this directory, in which to develop a new path to the User Configuration folder, here! Greening tool The thing that is doing is to create this Profile.ini file and redirect the user profile to a directory named Shuradata under the location of Firefox when you start to understand the pressure. From this it can be inferred that if we move to understand the post-press Firefox directory needs to be re-run! Green tool. exe program to redirect the correct path of the configuration file, if we copy the Firefox directory to a removable solid-state platter or a U-disk, and bring it to a new computer, it needs to be run once! Green tool. exe to complete configuration redirection.

After the greening is complete, open Firefox and remove some of the plugins you don't want to install pentadactyl extensions. After starting to optimize Firefox, the following records are some of the problems and solutions I found in Firefox:

How to solve the fake animation of Firefox and Flash under Windows 7 system
Reason:
Starting with Flash11.3, Adobe introduced protection mode, Flash sandbox, which often causes problems such as the death of a Firefox page.

How to resolve:
Access the system disk, modify the Mms.cfg, and its files are located as follows:
Win32:
C:\windows\system32\macromed\flash
Win64:
C:\windows\syswow64\macromed\flash
Edit Mms.cfg, add a line at the end of the file
Protectedmode=0
Save Restart Firefox

Pentadactyl currently only supports to firefox24.0 to prevent Firefox from automatically updating, you need to turn off the Automatic Update feature of Firefox, close the method:

Options, advanced-Update, close update

Firefox cache folder by default in the D:\data\cache directory, I modified to the following directory:
C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\cache
The purpose of setting the directory is to reduce the frequent reading and writing of the removable drive letter of Firefox, and to improve the response speed of Firefox.
If you want to modify the location of the cache folder, modify it in the following location:
About:config-> browser.cache.disk.parent_directory

Pentadactyl I set the Firefox toolbar off when I started it, because if you open the toolbar, Firefox automatically navigates to the address bar when it starts and is in insert mode, which affects the startup operation.

Add a home variable to the Windows system's path environment, create a. pentadactylrc file under the folder that the home variable points to, edit the file to configure the pentadactyl, and I find some settings that have been modified to collect as follows:

The Pentadactyl settings

Loadplugins ' \. (Js|penta) $ '
Group user

Map-m N,v J 15j
Map-m n,v k 15k

Map-m n,v J <C-d>
Map-m n,v K <C-u>

Map-m n,v y y
Map-m n,v y y
Map-m n,v p p
Map-m n,v p p

Map-m n,v L GT
Map-m n,v H GT

Map-m N,v < [[
Map-m n,v >]]

Map-m n,v m:bmarks<cr>
Map-m n,v m:bmark<cr>

Map-m n,v b <PageUp>
Map-m n,v s:stop<cr>
Map-m n,v u:undo<space>

Map-m I <C-h> <Left>
Map-m I <C-j> <Down>
Map-m I <C-k> <Up>
Map-m I <C-l> <Right>

Map-m N <leader>r:restart<cr>
Map-m N <leader>q:qall<cr>
Map-m N <leader>h:history<Space><cr>
Map-m N <leader>x:xall<cr>
Map-m N <leader>s:reh<CR>

Map-m N <leader>d:d ialog<sp>addbookmark<cr>
Map-m N <leader>b:d ialog<sp>customizetoolbar<cr>
Map-m N <leader>c:d ialog<sp>cleardata<cr>
Map-m N <leader>p:p references<cr>
Map-m N <leader>p:tabopen about:config<cr>
Map-m n <leader>e:d ialog searchengines<cr>

Map-m n <c-f>: Set guioptions!=t<cr>
Map-m n <c-e>: Set guioptions!=s<cr>
Map-m i,c,t <C-v> <Pass>
Map-m i,c,t <C-x> <Pass>
Map-m i,c,t <C-z> <Pass>
Map-m n,v,i,c,t <C-a> <Pass>
Map-m n,v,i,c,t <C-c> <Pass>

Map T-js str=util.domtostring (buffer.focusedFrame.getSelection ()); Str!= ""? Dactyl.open (str, {where:dactyl. New_tab}): Commandexmode (). Open ("Tabopen")

Map O-js str=util.domtostring (buffer.focusedFrame.getSelection ()); Str!= ""? Dactyl.open (str, {where:dactyl. Current_tab}): Commandexmode (). Open ("open")

Set Guioptions+=b
Set history=100
Set maxitems=12
Set HINTKEYS=JKSDFLAGHIOWEQRUMNCVX

Hi Normal color:black; Background:white; Font-size:10pt

Hi Hint font:12px "Droid Sans Mono", monospace!important;margin:-.2ex;padding:0 0 0 1px;outline:1px Solid Rgba (0,0,0,.5); Background:rgba (255,248,231,.8); color:black;text-transform:uppercase;

Set nextpattern= ' (Next | post) one? (Page | pages | chapter | zhang) | times のページ| times 面責 ', ' ^\bnext\b ', ' \bnext\b ', ' \bsuivant\b ', ' ^ (>|›) $ ', ' ^ (>>|») $ ', ' ^ (>|») ', ' (>|») $ ', ' \bmore\b '
Set previouspattern= ' (UP | front) one? (Page | pages | chapter | zhang) | Former のページ| ago 面責 ', ' ^\bprev|previous\b ', ' \bprev|previous\b ', ' \bprécédent\b ', ' ^ (<|‹) $ ', ' ^ (<<|«) $ ', ' ^ (<|«) ', ' (<|«) $

Style-name=commandline-ime chrome://* #dactyl-commandline-command input {ime-mode:inactive;}
Style chrome://* #dactyl-statusline-field-commandline-command input {ime-mode:inactive;}

"Vim:set Ft=pentadactyl:

Pentadactyl default implementation of a black status bar, the font is bold in white, in the opening of the site will also appear when the black status bar turned purple, do not know why, I always think this color is in and my Firefox Semple White theme does not set, see I really uncomfortable for a few days, and then can not endure this abrupt state, resolved to revise it, Baidu Google for a period of time coupled with their intelligence finally realized the status bar modification, record as follows:

The status of black is defined in the Pentadactyl plugin, and the package file location of this plugin is *\firefox\shuradata\extensions\[email protected] This is a strange type of file, Baidu find can be modified after the prefix named RAR using the total Commander tools to directly edit the package files, I modified the suffix command after using Total Commander directly open RAR file carefully find a will finally locate the status bar style definition in the [ Email protected]\chrome\common\skin\global-styles.css This file, which can be found in
The following code:

Statusline;;; fontfixed {
/* The status bar */
-moz-appearance:none!important;
Font-weight:bold;
Background:transparent!important;
border:0px!important;
padding-right:0px!important;
MIN-HEIGHT:18PX!important;
Text-shadow:none!important;
}
Statuslinenormal; [Dactyl|highlight]/* The status bar for an ordinary Web page */\
Color:white!important; Background:black!important;
Statuslinebroken; [Dactyl|highlight]/* The status bar for a broken web page */\
Color:black!important; Background: #FFa0a0!important; /* light-red */
Statuslinesecure; [Dactyl|highlight]/* The status bar for a secure Web page */\
Color:black!important; Background: #a0a0FF!important; /* Light-blue */
statuslineextended; [Dactyl|highlight]/* The status bar for a secure Web page with an Extended Validation (EV) certificate */\
Color:black!important; Background: #a0FFa0!important; /* Light-green */

Which is not ugly is the status bar font color background color settings, I changed it to the following, the successful implementation of the status bar on the white black word effect, of course, the font is not bold:

Statusline;;; fontfixed {
/* The status bar */
-moz-appearance:none!important;
Background:transparent!important;
border:0px!important;
padding-right:0px!important;
MIN-HEIGHT:18PX!important;
Text-shadow:none!important;
}
Statuslinenormal; [Dactyl|highlight]/* The status bar for an ordinary Web page */\
Color:black!important; Background:white!important;
Statuslinebroken; [Dactyl|highlight]/* The status bar for a broken web page */\
Color:black!important; Background:white!important; /* light-red */
Statuslinesecure; [Dactyl|highlight]/* The status bar for a secure Web page */\
Color:black!important; Background:white!important; /* Light-blue */
statuslineextended; [Dactyl|highlight]/* The status bar for a secure Web page with an Extended Validation (EV) certificate */\
Color:black!important; Background: #a0FFa0!important; /* Light-green */

After modifying the suffix name back to Xpi after restarting Firefox can see the effect, my world has become more beautiful again.

Firefox + pentadactyl for a pure green, efficient and easy to expand browser (while modifying the default status bar style)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.