Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/NorwegianÖversätta till Svensk/Swedishहिन्दी अनुवाद करने के लिए/Hindi
Tradueix al català/CatalanTulkot uz latviešu/LatvianPreložiť do slovenčiny/SlovakVertaal aan het Nederlands/Dutchترجمة الى العربية/ArabicTraduzca al Español/SpanishTraduisez au Français/French
Traduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese TraditionalПереклад на українську/Ukrainian

Ad

HTML5 Canvas To PPM Serializer

This post demonstrates how to save the contents of a HTML5 canvas object to a Portable Pixel Map (PPM) encoded image file. It also discusses various gamma transfer functions including sRGB, radiance and luminance.

JavaScript Shell Command Line Processing

This post demonstrates how to provide robust support for command line argument processing in a JavaScript shell using the classical Unix getopts paradigm. It also demonstrates how to access environmental variables from a JavaScript shell.

HTML5 Canvas Element Rubber Banding

This post demonstrates one method of implementing rubber banding on a HTML5 canvas element using JavaScript. It also demonstrates how to horizontally flip, emboss, invert, and gray (grey) sections of an image.

Microsoft SUA JavaScript Shell

This post shows you how to build and smoketest a JavaScript shell for Microsoft Windows Vista SUA using the SpiderMonkey 1.8 sources

JavaScript File Object

As you are probably aware JavaScript engines such as SpiderMonkey typically do not allow access to the local filesystem for reasons of security.  To enable developers to test the scripts from a command line, js includes the load() function which enables you to load one or more JavaScript scripts into the SpiderMonkey engine.  However this [...]