Install Google chrome in Centos 6.6 and centoschrome
Firefox is always very slow, and sometimes it is false. After some searches on the Internet and various methods, the installation was successful.
1. Download
The following error is reported during browser installation on a google Website:
sudo rpm -ivh Downloads/google-chrome-stable_current_i386.rpm [sudo] password for hakits: warning: Downloads/google-
I18N (whose source is the English word internationalization the first character I and n,18 as the middle character number) is the abbreviation of "internationalization". The I18N encapsulation API in the Chrome plugin framework:Chrome.i18n.getMessage (name)The characters used can be defined in a format similar to __msg_extname__, and then invoked through this API, for example:Chrome.i18n.getMessage (' Extname ')There is still some work to be done befo
1. Set the font, use the Ubuntu Tweak tool to set the system font to the default font, instead of the Wen Quan shu-yi font;2. Use Adblock Plus to filter out the spam ads, or a lot of flash on the page will cause the page to lag;Here must subscribe to China's advertising list, otherwise it is not effective, after all, we visit the main site or domestic.3. Do not enable the Flash playback feature by defaultThis I would like to suggest, after all, I look at the main page is text content, then flash
I think the simplest-on-the-password for the keyring to an empty password--you'll not being prompted for a pas Sword Then:
Open applications, accessories, Password and encryption Keys
Right-click on the "login" keyring
Select "Change Password"
Enter your old password and leave the new password blank
Press OK, read the security warning, think about it and if your still want to get rid of this dialog, choose "Use unsafe st Orage ".
Again, as the message says:this would expose a
This article mainly introduces the JS in Chrome and IE under the implementation of replication, the need for friends can refer to theIE JS Code: Code as follows:
1, double hit Open the Chrome browser, click on the top right three horizontal icon, in the pop-up menu select "Settings" option;
2, click on the bottom of the "Show Advanced Settings";
3, click the privacy settings under the "Content Settings" button;
4, in the content settings, respectively, click on cookies and JavaScript under the "Management Exceptions" button to set;
5, in the Pop-up Settings window to enter the a
default behavior onlyvar preventdefault = function (e) { e = e | | window.event; if (e.preventdefault) { e.preventdefault (); } else{ e.returnvalue = false; }}Get Event Source Objectvar geteventtarget = function (e) { e = e | | window.event; var target = event.srcelement? Event.srcElement:event.target; return target;}Attached: Binding Onpropertychange event Onpropertychange, which is triggered when an element's attribute changes, is typically used to capture its valu
Background:In today's work process, interrupt point debugging Follow up a section of JS code execution, the interface using Jquery.open Open, Ok () event no corresponding button, front-end Web Interface Click button, unable to cut into the breakpoint statement.Workaround: Use DebuggerEnter debugger in the OK () functionFront-end Interface Click OK button, the service program does not start debugging (server vs directly Open is the site, the site directory is the source code,)Press F10 to debug,
Once in a while, the computer browser can not open the usual Web page , it is strange that ie may open other than the browser can not , the results Baidu a bit, find a post, personally test it, if you can solve, record as follows:(1) Start-run-Enter cmd-OK-enter netsh winsock reset and press ENTER to determine. and then reboot.(2) If you are prompted for administrator status:That's because you don't have administrator privileges, win7 system opens C:\Windows\System32.(3) Find Cmd.exe, right-clic
Enter the following code in the console and press ENTER, and console displays "function (A, b) {return new M.fn.init (A, B)}" to indicate that the import was successful and that the jquery function could be executed directly in the console.var jq = document.createelement (' script '); = ' Http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js ';d ocument.getelementsbytagname (' head ') [ 0].appendchild (JQ); Jquery.noconflict ();Introducing jquery in the
1, solve ExtJS 3 chrome on the grid cm dislocation problem, this is a ExtJS bug
Problems like the picture below
2. Solutions The official
http://www.sencha.com/forum/archive/index.php/t-198124.html?s=782e3297b3794980e855431bf90e6172
Ext.grid.ColumnModel.override ({
gettotalwidth:function (includehidden) {
var off = 0;
if (ext.ischrome) {off
= 2;
};
if (!this.to
Today, when developing a Web application, write a small function with Javascipt to do the following things:
That is, change the Bille coefficient, the back of my hospital accounted for automatically change. The function is very simple, with onchange= "" can be implemented, but my code is as follows:
Code 1:
wyzb("Wyzb This is to call JS code, JS code is as follows:
Code 2:
But the Web page just does not execute this JS code, with the Chrome
In Ie7/firefox 3.0/google Chrome passed the test
Closedemo.htm
Copy Code code as follows:
Attention
If you are using a Firefox browser you must make the following settings
1, in the Address bar input about:config and then enter, warning confirmation
2, enter "Dom.allow_scripts_to_close_windows" in the filter, double-click to set this value to True
can be completed.
Test comparison good code: feel netizens reply
When a sync-mode Ajax load results in a DOM operation being suspended, the browser with this problem has chrome,ie8,9, etc. (Unknown test),
Example:
The code is as follows
Copy Code
Dialog = New dialog ({}). open ();Sync mode of Ajax$.ajax ({URL: "Some/url",Async:false,//Load data with Sync callOther params});
In the above code, dialog is a dialog object, normally it should be a pop-up dialog, and then execute A
Today, adjust the pop-up layer, encountered a small problem: get scrolltop value?
On the Internet to see some of the high way to get the page was rolled, document.body.scrollTop in IE FF is 0, the strange is in Chrome can.
I guess FF to be closer to IE, I used the FF 13.0.1, can be used in the previous version, this skip ...
The code is as follows
Copy Code
S + + "Web page is rolled high (FF):" + document.body.scrollTop;
The above article has outlined the specific aspects of the console object as well as the basic application, here is a brief description of how to use the Chrome console this artifact to properly debug the JavaScript code (this is what we can really use to implement the place)
1, first say the source positioning
Everyone open the test page to see the bottom right side of the page there is a recommended icon? Right-click the recommended icon, select t
This article describes the JS implementation compatible with IE, FF, Chrome, opera and Safari music players. Share to everyone for your reference. The implementation method is as follows:
/** Music player * @param obj player ID * @param file Audio file mp3:ogg: * @param loop whether loop/function Audioplayer (ID, file, lo
OP) {var audioplayer = document.getElementById (ID);
if (audioplayer!=null) {document.body.removeChild (Audioplayer); }
Firefox and IE's browser to achieve the input history of the function, can simplify the trouble of input, but sometimes pop-up drop-down box will block the page display content, and in some cases also do not need to record the input box, such as the number of query input box, Users do not query the same number multiple times, there is no need to let the browser record.
MSIE has customized the extended attribute AutoComplete of input, and set it to off
Using this method to mask Msie,firefox,
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.