Difference between Firefox and IE for JavaScript? |
| |
 |
Reputation Power: 1

| | New Poster Posts: 13 Topics: 9 |
|
|
September 18, 2010, 01:49:23 AM
|
hi all, What is the Difference between Firefox and IE for JavaScript?
regards Riya
|
|
|
|
| |
 |
Web Design And Development Company WeblinkIndia.Net Reputation Power: 2

| | Skilled Coder Real name: lisa Location: delhi
Gender:  Age: 23
Posts: 119 Topics: 8  |
|
|
September 18, 2010, 01:59:42 AM
|
hi Riyaa,
The differences are. .
Settings Firstly, Firefox has an advanced window for JavaScript Settings through which the permissions for JavaScript can be configured. Mozilla Firefox has more security locks as compared to IE (supported by JavaScript).
Features The latest IE version in use (IE 8 ) boasts of better comprehensive developer tools that are built-in like HTML, CSS and tools for JavaScript editing and JavaScript profiling. But for other browsers such as Firefox, these tools need to be downloaded separately.
While Internet Explorer supports only the common standards used by websites; Firefox supports emerging standards like HTML5 and CSS3 as well.
Date Function According to the ECMAScript specification followed by JavaScript, the method of getFullYear() (earlier getYear) is not compliant with Y2K. In Internet Explorer, this was changed to getFullYear() while Firefox retained the older method.
Debugging Since Firefox came after IE, so it had solutions for many problems that plagued the former IE versions. One of these is the debugging option with Firefox browser, which solves many problems related to IE applications by an advanced console that even lets you evaluate the JavaScript. The coding for this is easily available on the internet.
Generating HTML JavaScript can easily generate HTML from a string using the document. write function. Now if the document is in the SR mode (strict rendering), then parsing of the </script> tag takes place within the string and the Firefox’s parser will keep parsing till the closing tag is found for the <script> tag. This happens as the parser in the strict mode is not familiar with JavaScript but in quirks mod, the parser is aware of this. In Internet Explorer, none of this happens because it stays in quirks mode at all times due to its non-supporting feature for true XHTML.
Feature Differences in Current Versions IE version 8. 0 has remarkable improvements and support for JavaScript but it still scores only 20 out of 100 on the Acid3 test. Accelerators and WebSlices are supported for navigation and subscription features. Some other notable features include InPrivate privacy and filter for SmartScreen phishing.
« Last Edit: March 16, 2011, 09:22:23 PM by Admin »
|
|
| |
 |
Reputation Power: 2

| | Skilled Coder Posts: 125 Topics: 0 |
|
|
February 24, 2011, 02:48:36 AM
|
There are some setting different in both. Firefox provides more security as compare to Internet explorer.
« Last Edit: March 05, 2011, 09:22:18 AM by Admin »
|
|
| |
 |
Life Is Good! Reputation Power: 3

| | Professional Coder Gender:  Posts: 241 Topics: 3  |
|
|
April 20, 2011, 06:20:13 AM
|
hi Riyaa,
The differences are. .
Settings Firstly, Firefox has an advanced window for JavaScript Settings through which the permissions for JavaScript can be configured. Mozilla Firefox has more security locks as compared to IE (supported by JavaScript).
Features The latest IE version in use (IE 8 ) boasts of better comprehensive developer tools that are built-in like HTML, CSS and tools for JavaScript editing and JavaScript profiling. But for other browsers such as Firefox, these tools need to be downloaded separately.
While Internet Explorer supports only the common standards used by websites; Firefox supports emerging standards like HTML5 and CSS3 as well.
Date Function According to the ECMAScript specification followed by JavaScript, the method of getFullYear() (earlier getYear) is not compliant with Y2K. In Internet Explorer, this was changed to getFullYear() while Firefox retained the older method.
Debugging Since Firefox came after IE, so it had solutions for many problems that plagued the former IE versions. One of these is the debugging option with Firefox browser, which solves many problems related to IE applications by an advanced console that even lets you evaluate the JavaScript. The coding for this is easily available on the internet.
Generating HTML JavaScript can easily generate HTML from a string using the document. write function. Now if the document is in the SR mode (strict rendering), then parsing of the </script> tag takes place within the string and the Firefox’s parser will keep parsing till the closing tag is found for the <script> tag. This happens as the parser in the strict mode is not familiar with JavaScript but in quirks mod, the parser is aware of this. In Internet Explorer, none of this happens because it stays in quirks mode at all times due to its non-supporting feature for true XHTML.
Feature Differences in Current Versions IE version 8. 0 has remarkable improvements and support for JavaScript but it still scores only 20 out of 100 on the Acid3 test. Accelerators and WebSlices are supported for navigation and subscription features. Some other notable features include InPrivate privacy and filter for SmartScreen phishing.
all i really know was that it was easier for me to run a javascript in IE.. thanks for sharing this one.. now I know.. ^_^
|
|
| |
 |
Reputation Power: 2

| | Regular Coder Posts: 91 Topics: 4 |
|
|
April 20, 2011, 09:54:00 AM
|
Thanks for the detailed information weblink. Even I feel IE is easier than FF.
|
|
| |
 |
Reputation Power: 1

| | New Coder Posts: 25 Topics: 1  |
|
|
April 20, 2011, 09:08:44 PM
|
FF follows good standards but some of things are very weird in IE but the most important thing i like in IE 8 is presence of web developer. Just press F12
|
|
| |
 |
Reputation Power: 1

| | New Coder Posts: 25 Topics: 0 |
|
|
May 08, 2011, 11:33:43 PM
|
Recently Firefox launched it's new version called Firefox 4. There are some new features were add, which are given below.
* Improved notification function * Enhanced application tabs * Revamped extension manager * Support new Javasript engine called JagerMonkey * Better HTML and CSS3 support
|
|
| |
 |
Reputation Power: 2

| | Skilled Coder Real name: Janne Location: california
Gender:  Age: 26
Posts: 108 Topics: 1  |
|
|
May 11, 2011, 11:27:24 PM
|
7 JavaScript Differences Between Firefox & IE 1. The CSS “float” property 2. The Computed Style of an Element 3. Accessing the “class” Attribute of an Element 4. Accessing the “for” Attribute of the <label> Tag 5. Getting the Cursor Position 6. Getting the Size of the Viewport, or Browser Window 7. Alpha Transparency
|
|
| |
 |
Reputation Power: 1

| | Regular Coder Gender:  Age: 24
Posts: 60 Topics: 10 |
|
|
July 11, 2011, 11:10:26 PM
|
Thanks for this information, i was actually searched a lot for it, now i got it.
|
|
| |
 |
Reputation Power: 5

| | Professional Coder Posts: 244 Topics: 85  |
|
|
August 06, 2011, 02:11:49 AM
|
1. The CSS “float” property 2. The Computed Style of an Element 3. Accessing the “class” Attribute of an Element 4. Accessing the “for” Attribute of the <label> Tag 5. Getting the Cursor Position
|
|
| |
 |
Reputation Power: 1

| | New Coder Posts: 41 Topics: 0  |
|
|
September 25, 2011, 12:42:59 AM
|
javaScript is the language that enables multiple functionalities in WebPages and it differs from one browser to the other in the way it is implemented. Firefox and Internet Explorer are two browsers that are very popular nowadays and are competing with each other to provide a faster, more secure and enjoyable experience for Web Surfers, by providing different advantages. The differences in JavaScript coding are responsible for the running style of these browsers and their compatibility with other applications. We will discuss a few aspects from these to let you know what exactly separates Firefox and Internet Explorer when it comes to Java Scripting.
|
|
| |
 |
Reputation Power: 17

| | Code Guru Gender:  Posts: 1403 Topics: 86  |
|
|
October 03, 2011, 03:16:34 AM
|
I think some posters are confusing Javascript with normal HTML/CSS differences between the browsers.
Firefox used to be streets ahead (in terms of speed etc) but with later versions of IE it must be said that the gap is certainly narrowing sharply. The big problem is all the old versions of IE out there. For instance, javascript performs very poorly on IE6.
|
|
| |