Akbar on Development
Attaining the Impossibles
  • All Projects
  • Jack Sparrow Compass
  • Subtitles Translator
  • USB Disk Manager
  • Swift MVC Framework
  • TaskbarExt
  • Quick Chess
  • Basecamp Extension
  • Language Tools
  • Rapid Downloader

Archive for the ‘JavaScript’ Category

JavaScript doesn’t natively support the string trim (removing leading and trailing spaces) function, but this function is quite useful and required from time to time. Fortunately, you can do this as easily as by just single line of code using regular expression and can add support to all the string objects using the JavaScript prototyping. […]

JavaScript anonymous functions are really a bliss, and they way the help you write neat, flexible and dynamic code is simply amazing. I always admire them whenever I use them. But they don’t work in loops as neatly as in some other languages where the variables are scoped to the block level (like C#). In […]

I found another very interesting reference site on the DOM and JavaScript and it’s Dottoro: http://help.dottoro.com/ljxsqnoi.php For example, just check how much detail is available on just the Range object. The best thing is all the compatibility options of all the major browsers are also discussed. The main idea for this post is to bookmark […]

Everyone now and then a web developer stumble upon a JavaScript which is compressed by some utilities mainly to cut down the load time. I found it really tough, if not impossible, to read and understand such JavaScript. Fortunately, when tired of looking at one such compressed code (of a Google Chrome extension), I as […]

JavaScript provides the basic functions for string and other operations, but one needs lot more when working on some complex routines. Fortunately, the JavaScript prototype extension model helps us make custom functions available to all core objects of that type. Anyway, coming back to point. JavaScript provides a string replace function, but it only replace […]