So I run exclusively Linux systems, particularly Ubuntu 16.04 and newer. This OS has a very hard time running this game for extended periods of time without a browser crash from over use of memory, but I've found a few ways around it, some more reliable than others. I'm making this post mainly for the future, if there are any other players who choose to play this game on a Linux OS. Chrome / Chromium [Unreliable Fix]: For those using Google Chrome or Chromium browser this is the suggested fix, it has not worked for me, or at least, has not extended the life of the DOH tab for long if any at all, however, this is the typically suggested way of fixing memory related crash problems on Linux. The first thing to do is open the browser and go to Settings > Advanced > System here you should find three options, the second of which reads "Use hardware acceleration when available" disable this. The second thing to do involves using a flag when running the program, you can either type this into a terminal manually every time you want to open the browser, or save it as a '.sh' file and run it from the terminal, which is obviously the easier way to do it. Below is the command you will need to run in order to launch Chrome / Chromium with the GPU settings disabled.
For Chrome :
The command needed to launch Chrome will be:
:~$ google-chrome --disable-gpu
If you save that command as a .sh file, like 'chrome.sh' for example, then give it permissions with:
:~$ chmod a+x chrome.sh
And now, whenever you want to run Chrome for DOH simply open the terminal and type:
This will be the exact same as what is needed for Chrome except the command will be:
:~$ chromium-browser --disable-gpu
FireFox [Somewhat reliable]: This fix has little technicality to it other than simply running the game in a FireFox window as opposed to a Chrome or Chromium window. On my machines, FireFox has always run for longer without crash than has Chrome or Chromium, typically I would be able to leave it on overnight without it crashing, however it would be horrifically slow without a full browser reset by morning. In order to optimize your FireFox window to be as 'light' as possible, there is a flag that you can put into the terminal when launching. Running FireFox this way will allow for a far longer tab life than will the Chrome or Chromium browsers, however, as FireFox is known to be, it can become incredible slow incredibly fast, meaning you may have to even force quit the browser in order to reload the page if DOH has been left running for too long.
The command used to launch FireFox will be:
:~$ firefox --safe-mode
This can be saved as a .sh file in the exact same way as the Chrome and Chromium windows.
Pale Moon Browser [Most Reliable So Far]: This final method I have recently discovered and has worked incredibly well for me, I'm not exactly sure what about this browser makes it work so well, but it does. This browser is open source and Mozilla based, however it runs much faster, at least with DOH, than FireFox and can be run for very long periods of time without needing a reset. I can run DOH on this browser from when I fall asleep until lunch the following day without it even slowing down much, if at all. I haven't tested yet to see exactly how long it will run without a crash or slow speeds, as I usually am able to reload the page every 12 hours or so, but I may test this in the future. Below I will post how to install the Pale Moon browser in Ubuntu, if you are running another version of Linux you may have to alter the commands slightly as they do differ, but if you're running a version of Linux that isn't Ubuntu or Mint, then I'm going to assume you're perfectly capable of figuring that out yourself. The Pale Moon browser can be run with certain flags, however, I have found that they are unnecessary and do not seem to help with the life of the tab, these flags also typically involve the auto-deleting of cookies, which for DOH is a 'no, no' due to add-ons requiring cookies to save their settings.
To install Pale Moon first enter into the terminal:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/palemoon.list"
You may need to enter your password at this point and if you are running a version of Ubuntu that is not 16.04 you may need to swap that for '15.10', '14.04', or '12.04' in the code
wget -q http://download.opensuse.org/repositories/home:stevenpusser/xUbuntu_16.04/Release.key -O- | sudo apt-key add -
You may also need to replace the 16.04 in that code again if you are not running 16.04
sudo apt-get update
sudo apt-get install palemoon
Hopefully anyone out there who may eventually run this on Linux finds this guide helpful, the browser crashing became a very annoying issue for me until I discovered these fixes, so I wanted to prevent anyone else from bumping into that.