Posts tagged 'JavaScript'

New Code Project

I have just started a new coding project and I am in one of the worst phases. Before starting, I was full of ideas and enthusiasm. I could envision the finished product. I could imagine all the extra bells and whistles that could get added.

And then I started to …

Two Hours: 4 Characters

Productivity can be difficult to measure at the best of times. Even more so when you are programing. This afternoon, I wanted to add a feature to a webapp I had been working on. The first step was to import some data. How hard could it be?

I wrote what …

Voting for the EU Parliament in Scotland

Back in 2014, I was curious how the proportional representation system used for the EU elections, the D'Hondt method, worked. I built a simple javascript program to allocate the seats based on the number of votes for different parties, then added recent opinion polls to the page to see how …

Shortcut to Firefox Reader Mode

When browsing the web, I (and I know I am not alone) am getting more and more frustrated by all the bloat that many websites throw at us. Some news websites are particularly bad. I understand that they want to make money by adding revenue from adverts, but full screen …

Escaping from Passman

For the last few years I have been keeping my passwords within a password manager called passman. Development of passman has been limited recently and for a while it was blocking me upgrading my nextcloud instance.

As a result I am now begining to worry that passman may not be …

jQuery be Gone

This site no longer used jQuery1. I only noticed that I was using jQuery after I ran some benchmarking tests on the site. The site did well in enough but jQuery contributed a significant amount of the load time.

After digging around, the only place that I found jQuery …

Dyslexia Simulator

Make it STOP

Last month, I came across (via twitter) a dyslexia-simulator. Before I go any further, I would like to make clear that I am talking from a personal perspective. I am aware that there are many different flavours of dyslexia and other people will have different experiences.

I …

Phone Dialer

After having to use conference calling to an international number for work, then dial the meeting room code, I decided to have a go at a project idea I had over a year ago. I wanted to create a webapp that would, given a number, ‘dial’ that number using the …

Javascript Time Entry Field

For a project I am doing for my dad, I created a form that requires the user to input lots of times. This was to be done in the format "HH:MM:SS". After I created the form and handed the project over for testing, it was mentioned that typing …

More Fun with ImpAmp

After another afternoon of playing with impAmp, I have updated the version of soundmanager2. This versions main addition is the ability to use flash 9 (instead of the current flash 8). Unfortunately when using flash 9, the ID3 Tag information doesn't show so is not enabled by default at the …

Trigger onKeydown Without Activating Firefox Quick Search

Whilst working on ImpAmp, I was attempting to catch when the user typed ' or / into the window without activating the firefox quick search. After hunting around on the web, I found lots of places telling me how to deactivate it permanently which is not what I want. Normally I find …