Tag: Javascript
Onclick Javascript Does Not Work in Google Chrome and Firefox?
If you have found that onclick event does not work on Google Chrome, Firefox and Safari web browsers, then here is quick way to fix it:
Replace onclick form id with its name
For example, let’s say you have the following:
id=”form1″ name=”checkform1″
Find JS event:
onclick=”document.form1.cSSld.value=””
Replace with:
onclick=”document.checkform1.cSSld.value=””
All set. It now works with all web browsers.
Linux Browsers JavaScript Benchmark

After seeing plenty of web browsers benchmark results on Windows platform, I have decided to test them myself on Linux instead. In the first part we will be using the most popular JavaScript benchmark: Sunspider.
Continue Reading
Resize Text Areas in Opera
To get to work the following User Javascripts, you need to establish a folder path where the .js files will be stored (“Preferences” > “Advanced” > “Content” > “JavaScript Options” > “User JavaScript files”).
Both scripts started out from the simple desire of resizing text areas easily (like CSS3 UI).
And thanks a lot to xErath, the writer of these javascripts.
Safari’s JavaScript Engine on Asteroids
Quite a while ago Opera updated their JavaScript engine. Then Firefox and Webkit (Safari) did that, after that Google Chrome and Firefox again, and now… Webkit’s (Safari) turn, introducing SquirrelFish Extreme.
So how fast is it? As this graph shows, it’s more than 2 times faster than the original SquirrelFish, an engine which was announced not so long time ago. Continue Reading
Firefox 3.1 to Receive a JavaScript Performance Upgrade
Guys from Mozilla Firefox team aren’t sleeping. Few days ago they’ve launched a JavaScript engine called TraceMonkey which will be ported in the upcoming Firefox 3.1 release.
So to make it short: in some benchmarks, new engine is almost 40 times faster than the old one! Can you imagine that?
Just take a look at those benchmarks: Continue Reading



