Wheel of Life – Credits

This plugin was made by Oskar Jones (me), under his (my) web development brand IUK.Digital.

It lends it’s starting point and key inspiration from Matthias Kappeller (Codescale) on GitHub – codescale

Whilst at this point this plugin no longer resembles much (if any) of the code that was originally written by Matthias, I would like to credit his work and thank him for his generosity of releasing it on GitHub under an MIT licence.

The key reasons for creating this plugin was to assist my partner with her work in Mental Health Support.

This plugin follows more robust security practices in its code, so that it can be used safely by organisations and individuals alike without worrying.

To improve security, the .js now uses ‘strict mode’ to enforce stricter parsing and error handling. User inputs and dynamic HTML content are sanitized using a sanitizeHTML function to prevent XSS attacks. The use of innerHTML has been minimised in favour of safer methods like textContent, and the code is encapsulated within an IIFE to avoid polluting the global namespace. Additionally, event handling has been made more secure, and proper coding practices are enforced throughout the script.

Finally all calculations and inputs are done client side (on the users own computer) so no sensitive data should be transferred to or from the web server.

Designed & Hosted by IUK.Digital