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 […]
How to find all the Nodes from the Selection
Today when working on a JavaScript function to get all the DOM nodes which are under selection, I was going through the compatibility tables at quirksmode.org and scratching my head and wondering why the W3C guys have made this basic job all that difficult. I must admit that playing with range is complex (specially how […]
Disable Text Selection in HTML Page
I was working today on a UI fix to disable the text selection in the Dynamic Language Tools preference window during the drag & drop operation. After looking at the few samples on the web, I found that similar to many other compatibility issues, this is supported differently in IE and FireFox. Here is one […]
Hindi to English and Hindi to Urdu Transliteration
Urdu and Hindi are two of the most popular languages of sub-continent. The speaker of these two languages combined are more than a billion. However the one major difference between these two languages is how these are written. The Hindi language is written using Devanagari script, while Urdu language is written in Urdu script (oriented […]
How to turn off Weak SSL Ciphers on IIS
With growing security concersn for the site, it’s now recommended to don’t use the Weak or No Ciphers at all. Unfortunately, these weak ciphers are enabled by default in most of the IIS versions. If you don’t want to supports the use of SSL ciphers that offer either weak encryption or no encryption at all, […]