After recent Firefox update on my Desktop I started getting HTML code pages on certain tabs similar to the one below.
I’ve tried deleting cookies, clearing cache, starting Firefox in Safe Mode – same result. After several hours I finally gave up and installed Beta version (57.0b12) of Firefox browser and it worked!!
I hope this quick workaround will save you time in your already busy schedule.