google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank
Guest, register






Some Essential JavaScript Prototype Functions to Enhance your JavaScript Applications The JavaScript prototype functions in this JavaScript article tutorial are collected by jsB@nk from many JavaScript resources on the Internet. These JavaScript prototype functions are very helpful and essential to your JavaScript applications, web-based applications if you need to reduce time and work to process JavaScript tasks. And if you are still not good at JavaScript prototype functions, please read the JavaScript article below:
- JavaScript Prototype: Some Basic Concepts
- Prototype Dollar Function

This JavaScript article tutorial provides you the JavaScript source codes of 13 JavaScript prototype functions to process JavaScript Strings, JavaScript Arrays and Number variables, please go to the full-post page for details, now jsB@nk shows you some very popular JavaScript prototype functions only:
- contains: check if a string contains a child string
- trim: strips all redundant spaces from beginning and end of string
- copy: copy/clone an array variable
- random: return a random element, optionally up to or from range


Category: Snippet

5 Awesome JavaScript Plug-ins for Better YouTube Experiments on Opera YouTube - one of very hot social communities in Internet - a place to share your video clips to all friends on over the world. However, we have some inconveniences if just play YouTube video clips by YouTube's default Flash video player, today in this post, jsB@nk would like to provide you more 5 JavaScript utilities (UserJS) to have better experiments when view YouTube video clips with Opera. You may know the reason I mainly present to you the awesome and helpful JavaScript applications (UserJS) for Opera if you usually read my old JavaScript articles. I hope jsB@nk is going to have more JavaScript posts for Firefox and other browsers to serve you.

And for this post, I hope you will have more better YouTube experiments with YouTube "Lights Out", Play YouTube video clips in full screen automatically, YouTube Video Downloader, Youtube Resizer and YouTube Prevent Autoplay.

Read Essential JavaScript Applications (UserJS) for Opera Browser if you still want to have more better experiments with Opera.


HTML5 Web Workers Multithreading in JavaScript Web worker is one of new valuable features in HTML5, because web developers can make many awesome and interesting things with it:
- Processing Local Files in JavaScript with HTML5
- JavaScript Caching in HTML5

Besides, you can view more new other features of HTML5 and web worker at HOT New JavaScript APIs with HTML5, but today in this post, jsB@nk would like to present one more great JavaScript application that uses multi-threading processes. Please go to the full post page for details and instructions.


Category: Tutorials

Awesome Picture Showcase with Simple JavaScript Gallery This JavaScript gallery code is really simple but it's so awesome and beautiful if you just need a basic picture gallery. This JavaScript picture gallery does not use text much, it uses pictures and social icons only, and JavaScript effects, JavaScript animations built on jQuery framework, jQuery prettyPhoto plug-in, combined with Cufont technique; absolutely this JavaScript picture showcase script may make your picture gallery look awesome and beautiful.

This JavaScript picture gallery script has two themes: dark and light. Please go to the preview page to see or download it, or try other JavaScript gallery scripts already presented on jsB@nk:
- Picture Gallery with Display Switcher
- Create Sliding Photo Gallery using jQuery
- 65 Free JavaScript Photo Gallery Solutions
- 16 Free Picture Slideshow Gallery scripts


Category: Image, Slideshow

Simple Tips and Code to Load External JavaScript, CSS Files Dynamically This JavaScript article tutorial guides you how to build a simple JavaScript function for loading JavaScript and CSS external files dynamically. No new thing but this JavaScript snippet is still a good way to make your website become more comfortable.


CSS, JavaScript Compressors: Increase Page Load Speed Being a website owner/administrator, certainly you must pay attention to your web page load speed. In order to obtain high speed web page loads across your website, compressing CSS and JavaScript source codes is one of most important tips.

If you tried the conventional GZip compression tools after you uploaded your CSS and JavaScript source files to your server, why you do not try these online compressing tools in this article that offer you better compression rates before you actually upload your files? This JavaScript article tutorial offers you a list of 7 awesome compression tools to compress your heavy CSS and JavaScript source files in a refined and compressed rate.

I'm also using these compressing feature on jsB@nk by private compression tool, I can compress CS, JavaScript or PHP, Java, .NET, etc in this compression tool. Hope I'll have free time to share it with you.

There are many helpful tips and tricks to get better performance for your website:
- Faster JavaScript Loading Speed Tips, Code and Tools
- Speed Up JavaScript Performance with SharePoint Minifier
- Compressing JavaScript files with Google Closure Compiler
- Automatically Compressing JavaScript files on Apache


Awesome HTML5 Canvas and JavaScript Applications for Incredible Experiments jsB@nk already brought to you many awesome and unique JavaScript applications, web experiments that built on new techniques like HTML5 (canvas), CSS3 in articles such as:

- 5 Awesome JavaScript-based Desktop Applications
- Awesome jQuery Accordion with CSS3 and HTML5
- 50+ Great Web Applications of Data Visualization
- Great JavaScript Experiment Showcases on Chrome, Safari
- 10 Super Good JavaScript Experiments on Google Chrome

Today in this post, jsB@nk keep presenting to you more other 9 awesome JavaScript, HTML5 applications and incredible web experiments that totally satisfy us. Please go to the inner post page for full list of Tank World, Ultra Neuron Pong, Bacterium, Conductor, Sketch 3D, Bounce, Cube Out, Z Type and Untangle.


Category: Tutorials, Showcases

JavaScript Variable Checking Guides This JavaScript article tutorial guides you how to check type of JavaScript variables. This JavaScript tutorial guide contains full-completed JavaScript example codes and comments, it's very easy to follow, please go to the full-post page for details.

Other JavaScript tutorials for beginners:
- JavaScript OOP Tutorial for Dummies
- 10 Tiny JavaScript Snippets for Good Beginners
- Top 10 Best JavaScript eBooks that Beginners should Learn
- The basics of Javascript for beginners


Snake Game in JavaScript & YUI There are already many versions of snake classic games available on the Internet. Now this Snake game was just some fun way to practice JavaScript programming language. This snake online game is the first JavaScript game from author, it used YUI 2 for JavaScript events and DOM handling.

Some information above is from author, jsB@nk thinks you should know, now let's go to the board for JavaScript Snake game on jsB@nk; eat the food, more points you get, use arrow keys to move, press P to pause or resume.

Other JavaScript Snake games jsB@nk:
- Cross Browser Black Snake Game
- JavaScript Real Snake


Category: Framework, YUI

Simple JavaScript RegEx to Parse Domain Name There are many JavaScript resources to parse an URL in JavaScript RegEx. And parsing the domain main is easy since there's a lot of trick. This is useful for checking whether there is a third party domain involved in a page.

Today, jsB@nk would like to present you another JavaScript example code to parse an URL address using JavaScript RegEx. This JavaScript object is built into 2 JavaScript public methods, we can use them to get domain root of an URL address, or check if whether domain is exist.

Other JavaScript RegEx example codes you should try:
- getElementsByClassName: Simple Shorthand Way to Get HTML Element by className with RegExp
- JavaScript RegEx Example Code for Text Input Limitations
- Built-in JavaScript RegEx APIs
- RegExp Validation


Category: Utility, Generator

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web