Tag Archives: Javascript

Javascript : Find script execution time

Using the script below you can find how much time it took to execute your javascript code. var startDate = new Date(); // execute your tasks here var endDate = new Date(); var timeTaken = endDate.getTime() – startDate.getTime(); alert(‘Time take … Continue reading

Posted in JavaScript, Web development | Tagged , | 4 Comments

Disable right click menu in Flash (swf files)

There are times when you have to disable the default right click menu on flash files on your webpages. Uza has a suggested a method to completely disable the flash right menu. Check the article link at his website http://www.uza.lt/blog/2007/08/solved-right-click-in-as3 … Continue reading

Posted in Flash/Flex | Tagged , , , , , | 4 Comments