Prevent page reload in safari due to excessive power usage How can I prevent Safari from refreshing the page showing the message "This web page has been reloaded because it was using significant energy"?

I would like to leave the coinhive miner running when my machine is idle but it always gets stopped by the Safari refreshes.

Thanks
I found this apple support discussion on the matter:


  Well, my "solution" so far has been to run that process in Chrome
  instead of Safari. Not only does Chrome let it run for as long as I
  like, it turns out that it's able to execute it more than twice as
  fast (for this particular case).