How to create custom right click menu using Javascript

Last updated on November 28th, 2022 at 07:16 pmIn this tutorial you will see how to add a custom / context menu to your web page using javascript. Let us get started. There are mainly 2 files they are menu.CSS and menu.JS . Right click menu is enabled only on DIV section that we specify. […]

How to force download file using php

Last updated on July 24th, 2022 at 09:19 amThere are different ways to download a file. Easiest method is to use simple HTML like the one below. With a little help from Javascript and a way to hide the location of files (If you add some encryption techniques, not explained in this tutorial) you can […]

How to detect adblock using javascript

Last updated on November 18th, 2022 at 06:24 pmThis is a very simple script and we are not using any jquery or complex coding here. There are lot of AdBlock extensions / add-ons available in major browsers like Mozilla Firefox & Chrome. They can detect ads on a website and block them. We can use […]

Categories
Tools

How to change button font color using Javascript

Last updated on November 23rd, 2022 at 12:58 pmIn this tutorial you will see using javascript change button font color. Javascript setTimeout is very handy when we need to call functions within a definite time interval. In the below example script i am using setTimeout and implemented a simple logic to call 2 different javascript […]