Internet Explorer, would you just die already? Ok, maybe not die but force everybody to update to the new Chrome based Edge browser. I had to do an update to format number separators based on the browser setting and even though you go in to Internet Explorer 11's user preferences and set the language to French, German, or any other language, Internet Explorer still thinks it's English. It use to be you could call navigator.language
in javascript and it would return the correct language that could be used to change number formatting based but not anymore. Luckily, the pages I was working on have the selected language in the html
lang
attribute so I was able to get it from there but if we ever move out of our current environment, this will need to be rethought most likely requiring the back end to send the value some other way.
Took some time to fix the Johnny Dress Up
so it saves to the database and managed to break the entire site yesterday. It's all working now finally with some tweaks to how relative files are loaded and it actually works with the IP or the dohnetwork.com
. Usually all relative files can be referenced/loaded easily enough but with the php and cdn files going back and forth, some urls would be in subfolders they shouldn't be. All looks good now and even fixed the bootstrap issue on Johnny Dress Up
to prevent it from messing up the header. Still need to have my domain registrar clear all my name servers so I can set up the dohnetwork.com
url again. One of these days I'm going to need to go through and clean up all this code because there are so many libraries in there that I used at one time or another.
I'm so glad browsers were updated to use session and local storage instead of having to rely on cookies. They are so much easier to set up and interact with. I had to do some storing of data a couple of times in the last couple of weeks at work and it took no time at all. Not like the time I had to set up cookies for the Haunted Mansion and Brother Brea movie websites. I was proud of those when they were done but man, were they tough to set up. Although that did lead to the DOH! Network traffic going through the roof for a couple of months when another developer at that job used my demo code that had all my commenting and links to my site instead of my final sample for his cookie stunt so people were inspecting the code and seeing dohnetwork.com
and then coming to my site to see what that was about. Good times.