Tag: Javascript

Onclick Javascript Does Not Work in Google Chrome and Firefox?

By Vygantas Lipskas | March 6, 2011 | 2 Comments

Onclick Javascript in Google Chrome and Firefox Does Not Work?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

By Alejandro Yee Cota | April 1, 2009 | 7 Comments

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

By Alejandro Yee Cota | January 16, 2009 | 2 Comments

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.

Continue Reading

Safari’s JavaScript Engine on Asteroids

By Vygantas Lipskas | September 23, 2008 | 0 Comments

SafariQuite 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

By Vygantas Lipskas | August 25, 2008 | 7 Comments

Firefox 3.1 to Receive a JavaScript Performance UpgradeGuys 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