Currently browsing JavaScript

Tuesday, May 17, 2022

JavaScript Bookmarklets Collection

Bookmarklet 1: Show Password A simple JavaScript snippet can be used to view passwords in web browsers. To use the code,…

Tuesday, May 17, 2022

How to copy web page content using innerHTML

I need to extract some data from a web page and place it on a fishing site. The source web…

Tuesday, May 17, 2022

How to Optimize a Theoretical Funnel Page Load Speed

Here’s a quick snippet to preload the next step in a theoretical funnel/workflow: PHP JavaScript

Tuesday, May 17, 2022

Numerical Integration Using JavaScript

This is a quick reminder on how to use mathematical functions inside JavaScript. Instructions Use * to indicate multiplication: Type…

Tuesday, May 17, 2022

Random JavaScript Tutorials

I needed some structural updates for a site, and among them, I added some JavaScript snippets. I will show you…

Tuesday, May 17, 2022

How to declare a global variable inside a jQuery function

A Javascript global variable is a variable with global scope, meaning that it is visible and accessible throughout the program, unless…

Tuesday, May 17, 2022

JavaScript Terminal

Today’s tutorial is about creating a terminal screen together with lime terminal characters in JavaScript. Let’s start with the CSS:…

Tuesday, May 17, 2022

Demistifying JavaScript history.back() and history.go() methods

One of my clients needed his online shop customers to be able to go back several steps with one click…

Monday, May 16, 2022

How to check scroll depth using JavaScript

This function checks after each scroll event to see if a visitor has achieved certain scroll depth milestones. In the…

Monday, May 16, 2022

How to execute code for X visits

This JavaScript will let you execute code a certain number of times. For example, you might want to only show…

Tuesday, April 12, 2022

Canvas: Animation

This is a Canvas programming introductory series: Canvas Part 1: Introduction Canvas Part 2: Transforms and Transparency Canvas Part 3:…

Tuesday, April 12, 2022

Canvas: Interactive Shapes

This is a Canvas programming introductory series: Canvas Part 1: Introduction Canvas Part 2: Transforms and Transparency Canvas Part 3:…