RSS feed [root] /script /web /weblog



title search:


Mon Mar 16 07:46:24 HKT 2020


(google search) (amazon search)
download zip of files only

Sat May 16 23:10:40 HKT 2020 From /weblog/web/script


Prototype reference -

Discussion of javascript with a lot of pointers -

New version of Javascript -

15 javascript you cannot live without -[..]vascript-snippets-you-cant-live-without/

A tutorial -

Pointers of a lot of libraries -[..]/my-library-of-javascript-libraries.html

The 2020 Web Developer Roadmap -[..]-2020-web-developer-roadmap-76503ddfb327

(google search) (amazon search)

Mon Mar 16 07:46:47 HKT 2020 From /weblog/web/script


How I made a 3D game in only 2KB of JavaScript -

(google search) (amazon search)

Mon Oct 17 23:17:30 HKT 2011 From /weblog/web/script


How to display local time to users in browser? -

(google search) (amazon search)

Tue Mar 22 14:38:46 HKT 2011 From /weblog/web/script

hint[..]ipt-the-good-parts-by-douglas-crockford/[..]12/07/downloading-javascript-as-strings/ <- in order to improve performance

Possible benefit of using library JS from other host -[..]u-should-let-google-host-jquery-for-you/

Use iframe to make script load async -[..]eb-pages-faster-with-a-simple-tweak.html

(google search) (amazon search)

Tue Mar 08 08:45:59 HKT 2011 From /weblog/web/script


Introduction to mobi, a DSL to web -

(google search) (amazon search)

Thu Jan 20 23:59:59 HKT 2011 From /weblog/web/script


(google search) (amazon search)

Thu Jan 21 01:47:44 HKT 2010 From /weblog/web/script


A nice logging framework for javascript -

Comparison of Application frameworks of javascript -[..]07/07/04/javascript-frameworks-compared/[..]0/01/15/javascript-framework-comparison/

(google search) (amazon search)

Tue Mar 18 01:25:33 HKT 2008 From /weblog/web/script

ajax security

Some simple rule:

If you use user authentication, make sure you check for it on the request page!
Check for SQL Injections
Check for JavaScript Injections
Keep the Business Logic on the server!
Don't assume every request is real!
Check the data with validation!
Look at the request’s header information and make sure it is correct[..]pascarello/2005/11/16/1132198968655.html

(google search) (amazon search)

Wed Jan 02 19:35:38 HKT 2008 From /weblog/web/script


Collections of javascript parser -

(google search) (amazon search)

Thu Jul 12 19:19:36 HKT 2007 From /weblog/web/script

cross browser cursor positioning

Show how to control cursor using javascript:[..]ipt-tip-cross-browser-cursor-positioning

cross-browser-window-size-and-centering -[..]cross-browser-window-size-and-centering/

(google search) (amazon search)

Wed Jul 05 12:17:43 HKT 2006 From /weblog/web/script


The downloadable one is only trim thing like white spaces and new line, but the online only one actally obfuscate your javascript[..]how-to-compress-javascript-files-safely/

(google search) (amazon search)

Mon Feb 06 11:53:56 HKT 2006 From /weblog/web/script

Closing IE windows without promote

(google search) (amazon search)

Tue Jan 24 20:51:55 HKT 2006 From /weblog/web/script

firefox new javascript console

Look quite nice:[..]moreinfo.php?id=1843&application=firefox

(google search) (amazon search)

Mon Dec 19 17:35:45 HKT 2005 From /weblog/web/script

auto scroll html select list

we can use script to update the select list and make it scroll automatically[..]pascarello/2005/12/14/1134573598403.html

(google search) (amazon search)

Wed Dec 07 12:11:11 HKT 2005 From /weblog/web/script

profiling javascript

Most of the cast javascript are pretty fast to execute, but sometime you still need to profile and tuning, this is a good resource about this area

(google search) (amazon search)

Tue Dec 06 19:19:57 HKT 2005 From /weblog/web/script



(google search) (amazon search)

Sat Nov 26 02:58:58 HKT 2005 From /weblog/web/script

copy array

A better way to copy array in javascript

(google search) (amazon search)

Fri Nov 25 20:19:56 HKT 2005 From /weblog/web/script

javascript memory leak

Worth to take a look, and it don't look like a browser specific problem

(google search) (amazon search)

Fri Oct 14 16:08:14 HKT 2005 From /weblog/web/script

javascript automatic build

nice trick and I luckly have a mac[..]tinuous_integration_with_javascript.html

(google search) (amazon search)

Wed Oct 12 15:04:55 HKT 2005 From /weblog/web/script

package exe from ruby script

Look nice

(google search) (amazon search)

Tue Sep 20 14:54:46 HKT 2005 From /weblog/web/script

peeve with javascript

According to author and the comments they don't like javascript in following:

1) null behaviour
2) exception behaviour
3) arrays behaviour[..]

But for me, poor namespace support is the biggest one.[..]?anchor=the_javascript_namespace_problem

(google search) (amazon search)

Wed Sep 07 12:19:14 HKT 2005 From /weblog/web/script

library to prevent embed javascript in html

Instead of:

<a onclick="this.parentNode.removeChild(this)" href="#">Click me to delete me</a>

Your markup remains:

<ul id="example">
>a href="/someurl">Click me to delete me

Then, in a separate script, you can provide the behavior using CSS selectors.

var myrules = {
'#example li' : function(el) {
el.onclick = function() {


(google search) (amazon search)

Wed Aug 17 12:31:29 HKT 2005 From /weblog/web/script

javascript overloading

In contrast to java, javascript don't support method overloading, JavaScript supports only allow a single function to use a specific name on a page.

(google search) (amazon search)