Spellfire - Javascript
Common Javascript problems and their simple solutions.
09 April 2019
Creating an unique id
›
Intro Sometimes you need a unique, randomly generated ID. It could be used to identify an input from a form. A randomly created number,...
07 June 2017
Highlighting text parts
›
Introduction Ever used <Ctrl> + <F> to find something in your page? Why do you use it? Because you want to highlight y...
02 March 2017
Pissing-me-off moving button
›
Introduction Another funny script. Each time you enter a button with your mouse, the button moves to a random location making it im...
30 August 2016
Protecting forms with negative-Capchas
›
Problem Every form is a target of Spam-Bots. But how to protect your web from those evil bastards? Captcha is the most common metho...
06 July 2016
Show everyone my passwords
›
Introduction Every seen this fancy checkbox on mobile devices where you can make password fields visible? Well on a page for a...
05 June 2016
Accessing the local storage
›
Introduction Sometimes it's quite useful to store some information on the visitors computer. Maybe you want to store the whole s...
29 April 2016
Preventing right-click
›
Introduction Want to prevent someone copying images from your website? Well, you can't! But you can make it harder to call for t...
›
Home
View web version