Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Uncaught SyntaxError: Unexpected token [
error when ran. I've yet to find what '[' the error refers to, I'll probably start commenting code out until it doesn't error... just haven't gotten to it.Works perfectly in Firefox, haven't tried other browsers. If you want support for your browser before I get to it myself I welcome anyone to fix it and post it here. I'll then update the script with the fix.
Solved!
Problem #1: Chrome didn't support destructuring which I was using in my Map iterator.
Problem #2: Hotkeys are stored as key names (a,b,c, LeftArrow, etc.) which has become a headache of inconsistency between browsers, both by the means to get these names and what they actually are. I still have some inconsistent names (namely with arrow keys, `, -, +), but everything else works.
Re: @Artex:
Destructuring assignment should eventually be supported. ES6 was just finalized ~5 months ago and Google is a bit slow to adopt. Glad you found what you needed.