On this page, you will find various JavaScript functions and examples I have written. If you find something useful and want to incorporate it in your website or application, feel free to do so. No need to ask for permission. Just copy and use whatever you like.

I learned JavaScript programming on my own when I was 18. Programming is one of my hobbies. JavaScript is probably the most popular programming languages in the world right now.

JavaScript Functions & Programs

ZLIB.JS - my JavaScript library

jsObfuscator.html - my JavaScript obfuscator

painter.html - a JavaScript game (I didn't write this)

JavaScript Examples

getElementById.html - shows how to use getElementById()

select.html - how to read values from a drop-down menu

FindString.html - shows how the indexOf() function works

filterFunction.html - how to pass a function as an argument

extractURL.html - extracts web addresses from a string

buttons.html - shows how to create buttons

buttonsExpire.html - how to create buttons that expire

binary.html - example of an obfuscated JavaScript program

self.html - how to read and write page html source

sortlist.html - example of sort() method

redclick.html - how to capture clicks

progressbar.html - progress bar example

Last Update: Jan 16, 2020