Chrome has a feature that turns light text to black before printing. For instance, if you have a light gray paragraph on the page, it will print as black text. While this feature might ensure that unoptimized pages are readable when printed, you might want to disable it so colors come out the way you […]
localStorage.setItem will throw an “Access denied” error in Internet Explorer InPrivate Browsing mode. Likewise, Safari will give you QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota. To avoid those errors, you will need to wrap your localStorage access in a try/catch block.
While running Karma unit tests, you might run into the following error: Uncaught TypeError: Cannot read property ‘failedExpectations’ of undefined. The cryptic error message might be a pain in the butt to debug, so let me save you some time. In your tests, look for reassignment of the result variable. You are probably overwriting a […]
I have seen this error in our Sentry logs, and after some research, it appears to be an error that can safely be ignored. It only happens in Chrome on iOS, most likely at random, and it is seemingly unrelated to the page being viewed. It has been tweeted about, but there doesn’t seem to […]
Occasionally, you might run into various line break issues with FileZilla. For instance, you might have double line breaks instead or no line breaks at all. To fix this issue, change the transfer type to binary by going in Menu, Transfer type, Binary. Your line breaks should now work properly in your text editor of […]
If you have a free Heroku instance, you might sometimes face a long first page load time on your web application. This is because Heroku will shut down your instance after a while if nobody visits your site. This is a problem I have encountered with Bill Splitter since my girlfriend and I were the […]