google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank






Rock Solid addEvent() Usually, when one event loads, it writes over any previous ones. Using this snippet, you can add several events to one page without any problems.


Category: Snippet

Regular Expressions Taster Grab these regular expressions to use in your own JavaScripts. They can add another dimension to your programming experience.


Category: Snippet

Popup Blocker Detection Use this JavaScript snippet to detect if the client browser is using a popup blocker. If a one is detected, the script can then perform a different action. The sample uses an alert box to inform the user whether a popup blocker is present or not.


Category: Snippet

Multi-Dimensional Array Searching Use this prototype function to search through a multi-dimensional array. Simple yet efficient! Includes examples.


Category: Snippet

JavaScript Off Redirect Here's a trick that will redirect a browser when JavaScript is turned off. Why not redirect the ones that have JavaScript? Less than 10% of browsers have JavaScript turned off; therefore, redirecting less than 10% of visitors is better than redirecting over 90%.


Category: Snippet

insertAfter() Use this JavaScript snippet to insert a node after another node. Quite handy in laying out Web pages.


Category: Snippet

getStyle Use this JavaScript snippet to get the rendered style of an element. Quick and simple to implement.


Category: Snippet

Get Firefox If your visitors are using one of those "other" browsers, this short script will display a graphic with a link to the Firefox Web site. (The graphic won't display if you're using Firefox to view this page.)


Category: Snippet

A Hidden Message Just type the word "code" and an action will activate! This script activates a JavaScript when you type some code.


Category: Snippet

Speed Up Object Detection Object detection is common in JavaScript. Browser irregularities mean that your code must sometimes contain branches for different browsers. Use this JavaScript snippet to perform object detection once instead of every time you call addEvent.


Category: Snippet

AIVideo-App.com
Generate your business videos by AI with voice or just text

chatGPTaz.com
Talk to ChatGPT by your mother language

AppAIVideo
Your first FREE AI Video App

Deepfake Video
Deepfake AI Video Maker

Deepfake
Deepfake AI Video Maker

AI Deep Fake
Deepfake AI Video Maker

AIvidio
AI Video Mobile Solutions

AIvideos
AI Video Platform & Solutions

AIvedio
AI Video App Maker

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Temu Free $500 for New Users
Claim Free Temu $500 Credit via Affiliate & Influencer Program

Free TikTok Ads Credit
Master TikTok Ads for Your Business Marketing

Dall-E-OpenAI.com
Generate creative images automatically with AI

chatGPT4.win
Talk to ChatGPT by your mother language

First AI Product from Elon Musk - Grok/UN.com
Speak to Grok AI Chatbot with Your Language

Tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools

GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project

iPhoneKer.com
Save up to 630$ when buy new iPhone 16

Buy Tesla Optimus Robot
Order Your Tesla Bot: Optimus Gen 2 Robot Today for less than $20k

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web