Recently found that a lot of people in the promotion of Firefox free to do nothing, casually toyed with this open source browser, found that it is really practical, flexible, I summarized below some of the skills and share, I hope more people can love this browser.
The first trick: Hide Firefox's splash screen
Right-click the Firefox desktop shortcut, select the property options, add parameters after the
statement similar to OBJ. style. Height = imgobj. Height in Firefox is invalid.Solution:
OBJ. style. Height = imgobj. height + 'px ';
20. IE, Firefox, and other browsers have different operations on table labels. in IE, assigning values to innerhtml of table and TR is not allowed. When adding a Tr using JS, the appendchile method does not work.Solution:
// Append an empty row to the table:VaR ROW = o
invalid.Solution:
OBJ. style. Height = imgobj. height + 'px ';
20. IE, Firefox, and other browsers have different operations on table labels. in IE, assigning values to innerhtml of table and TR is not allowed. When adding a Tr using JS, the appendchile method does not work.Solution:
// Append an empty row to the table:VaR ROW = otable. insertrow (-1 );VaR cell = Document. createelement ("TD ");Cell. innerhtml = "";Cell. classname = "XXXX ";Row. appe
During the development of multi-language java websites, code that can run normally in FF is found to be unavailable in IE, and vice versa. The incompatibility and unified methods of IE and Firefox in JavaScript are summarized as follows:1. compatible with firefox's outerHTML and FF, there is no outerHtml Method Copy codeThe Code is as follows:If (window. HTMLElement ){HTMLElement. prototype. _ defineSetter _ ("outerHTML", function (sHTML ){Var r = thi
1.doc ument. formname. Item ("itemname ")
Description: In IE, you can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].Solution: Use document. formname. elements ["elementname"].
2. Collection class Object Problems
Note: in IE, you can use () or [] to obtain collection class objects. In Firefox
Mozilla Firefox is a free, open source browser for Windows, Linux and MacOS x platforms, which are small in size and fast, with some other advanced features.
1. Arbitrary scale text Size
In IE browser, we can only five of the size of the text to adjust, but in Firefox Firefox browser, we can arbitrarily scale the size of the text. The operation of the method is
:4px;.CSS: Double-line bump borderie:border:2px outset;.Ff:-moz-border-top-colors: #d4d0c8 white;-moz-border-left-colors: #d4d0c8 White;-moz-border-right-colors: #404040 #808080;-moz-border-bottom-colors: #404040 #808080;.Back: Found an error, ie can use document.all, and FF can not use, IE and FF can use Document.gete
First, prepare two different versions of the Firefox installation package, I am here to prepare 24.0 and 39.0;Second, install the lower version of 24.0, you can use a typical installation, install to the default directory, such as "C:\Program Files \mozilla Firefox" directory, and generate a desktop shortcut;Third, in 24.0 of the Firefox shortcut right--->> prope
The complete code is as follows: Chrome also has tips, to tell the truth generally this type of code is commonly used under IE, other browsers are just to give a hint.
Here are some specific explanations:
1, IE browser to add the code of Favorites Window.external.addFavorite (sURL, stitle);Parameters:sURL: Full Site page address added to FavoritesStitle: The name of the Site page title added to the Favorites folder.Example: 2, Firefox br
margin: 0px, padding: 0px, and list-style: none can achieve the final effect.Ii. CSS transparencyIE: filter: progid: DXImageTransform. Microsoft. Alpha (style = 0, opacity = 60 ).FF: opacity: 0.6.[Note] it is best to write both of them and put the opacity attribute below.Ii. CSS rounded cornersIE: IE7 or earlier versions do not support rounded corners.FF:-moz-border-radius: 4px, or-moz-border-radius-toplef
final effect. In Firefox, you must set both margin: 0px, padding: 0px, and list-style: none can achieve the final effect.
Ii. CSS transparencyIE: filter: progid: DXImageTransform. Microsoft. Alpha (style = 0, opacity = 60 ).FF: opacity: 0.6.[Note] it is best to write both of them and put the opacity attribute below.
Ii. CSS rounded cornersIE: ie7 or earlier versions do not support rounded corners.FF:-moz-b
only remove the left and right indentation, you must also set the List-style:none to remove the list number or dot. In other words, in IE only set margin:0px to achieve the final effect, and in Firefox must be set margin:0px, padding:0px and List-style:none three to achieve the final effect.
22, CSS transparent issues
IE:filter:progid:DXImageTransform.Microsoft.Alpha (style=0,opacity=60).
ff:opacity:0.6.
[note] The best two are written and the opac
1. Firefox style sheet definition does not support unlabeled cursor: hand. We use standard cursor: pointer
2. compatible with IE Firefox to solve text overflow problems (Word-wrap: Break-word; Word-break: Break-All)Click here to download the attachment (wordwrap.rar)
Line feed can be implemented in both IE and Firefox:
Of course, before calling, you must fi
Once upon a time, used to join the collection code, but not compatible with Firefox, a bit depressed, at this point, there is a compatible version of the Code, published as follows:Compatible with Firefox (version: Firefox 3.6.3), Ie6/ie7/ie8 to join the collection code, online some test time did not pass, the following no problem.
Reference ', ' news-
or direct
How to set the IP proxy for Firefox firefox browser
Method/Step
How to set up the IP proxy of Firefox, the method steps as follows, first opens the browser, in the upper right corner hits the "Three" icon, opens the main menu.
In the main menu interface, select the "Options" one.
When you go to the Options window, select the "Advanced" option at the
This code was previously used to prevent the page from using the IFRAME
Copy Code code as follows:
But in Firefox you will find that the page will be constantly in the brush. The page doesn't work at all.
Here is because the Firefox windows.top if not so is empty, under IE windows.top is this window page constantly refresh the running of this section of JS code This creates a dead l
:. 5;/* for Firefox */
Style = "-moz-opacity: 0.5; filter: alpha (opacity = 50); cursor: hand;" onmouseover = "this. style. Your opacity = 1;This. filters. alpha. opacity = 100 "onmouseout =" this. style. Required opacity = 0.5;This. filters. alpha. opacity = 50"
19. ff does not support expression. For example, to remove the border of a link, you must write different css codes.
A, area {blr: expression (t
Have a problem today because projects need to use uploadify to implement non-dynamic file uploads
Run normally under IE, but Firefox error--http 302 error
After Google learned that because Uploadify is the use of flash to achieve no dynamic file upload, flash in Firefox to restart session sessions, because the session is not verified by the error
Workaround: Add the file upload path, Jsessionid=
Note: *
Domestic IE browser users more, but there are many problems, such as the window, the horse, but also common, but for the webmaster, Firefox is not unfamiliar, today to take you to know a different firefox. The magic of Firefox is the powerful Firefox extension. There are many application platforms in China, such as 360
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.