How to prevent Safari banner "This webpage is using significant energy [...]"?

Yoms

macrumors member
Original poster
Jun 1, 2016
94
41
Hi,

Several times per day, I see this banner in Safari:
This webpage is using significant energy. Closing it may improve the responsiveness of your Mac.

The website is what it is and there's nothing I can do to improve it.

But this is banner happens too often. Is there a way to prevent Safari from displaying it? As it momentarily reduces the window size, it messes with the display of the webpage (rather a web app than a mere webpage actually).

Thanks a lot,
 

Honza1

macrumors 6502a
Nov 30, 2013
517
179
US
Not sure how prevent this popup, but you may be able to reduce the load by using Ghostery or other content blocker. It makes a huge difference.
 

NoBoMac

Moderator
Staff member
Jul 1, 2014
2,783
1,116
Turn off extensions?

Try different browser? Even in this day and age, still run into the odd website that has issues in one browser or another (eg. an online survey I got the other day would not launch in Safari, but had no issues in Firefox; Chrome has some Google-specific methods for dealing with caching/mobile content [for example]).
 

Honza1

macrumors 6502a
Nov 30, 2013
517
179
US
Hi,

Several times per day, I see this banner in Safari:
This webpage is using significant energy. Closing it may improve the responsiveness of your Mac.

The website is what it is and there's nothing I can do to improve it.

But this is banner happens too often. Is there a way to prevent Safari from displaying it? As it momentarily reduces the window size, it messes with the display of the webpage (rather a web app than a mere webpage actually).

Thanks a lot,
And did you try googling this message? I did and it shows as one of the top one results:

https://www.tekrevue.com/tip/disable-safari-power-saver-os-x/

It's bit old, but the checkbox is still there. Does that help?
 

Yoms

macrumors member
Original poster
Jun 1, 2016
94
41
Hi,

Thanks for your replies.

I don't want to turn off extensions. The web app is demanding and is meant to be this way. It's a charting and graphic web app. Maybe one day, the developers will optimise their JS code, maybe not. But in the meantime, I don't want to disable JavaScript on this page as it's mandatory to use all its functionalities.

Yes I did google it, but again I don't want to use Safari power saver mode. I want to use all the power I can :) I don't care. I just want Safari to stop annoying me with this message.
 
  • Like
Reactions: jbachandouris

Honza1

macrumors 6502a
Nov 30, 2013
517
179
US
Hi,

Thanks for your replies.

I don't want to turn off extensions. The web app is demanding and is meant to be this way. It's a charting and graphic web app. Maybe one day, the developers will optimise their JS code, maybe not. But in the meantime, I don't want to disable JavaScript on this page as it's mandatory to use all its functionalities.

Yes I did google it, but again I don't want to use Safari power saver mode. I want to use all the power I can :) I don't care. I just want Safari to stop annoying me with this message.
My reading of that page is, that checking that checkbox will prevent Safari from throwing that message and using all cpu it can.

Try it and let us know, please. I do not have test to try it on and I am intrigued ;-)
 
  • Like
Reactions: Jack Burton

Yoms

macrumors member
Original poster
Jun 1, 2016
94
41
My reading of that page is, that checking that checkbox will prevent Safari from throwing that message and using all cpu it can.

Try it and let us know, please. I do not have test to try it on and I am intrigued ;-)
I can try, but again I'm ok with Safari using all the CPU it can. That's what I want with this page !
Also, when I googled the msg, I also saw people writing that this msg appeared in High Sierra whereas what you are referring to is a much older functionality.
 

LFO8

macrumors member
Apr 27, 2019
47
17
I can try, but again I'm ok with Safari using all the CPU it can. That's what I want with this page !
Also, when I googled the msg, I also saw people writing that this msg appeared in High Sierra whereas what you are referring to is a much older functionality.
Did you manage to resolve this? I find this to be a hinderance as well as I am fine with some pages using a great deal of energy as I have plenty of recourses to throw at it.
 

Yoms

macrumors member
Original poster
Jun 1, 2016
94
41
Did you manage to resolve this? I find this to be a hinderance as well as I am fine with some pages using a great deal of energy as I have plenty of recourses to throw at it.
Actually, as this only concerned one specific web app I decided to use Chrome for that one. Chrome doesn't display this annoying message, so I guess it's a viable workaround; albeit not a solution.
 

LFO8

macrumors member
Apr 27, 2019
47
17
Actually, as this only concerned one specific web app I decided to use Chrome for that one. Chrome doesn't display this annoying message, so I guess it's a viable workaround; albeit not a solution.
Yes, I’m forced to do the same for my trading/charting web app.
 

kemo

macrumors 6502a
Oct 29, 2008
746
114
ProtonVPN
If there is certain amount of JavaScript on the page which requires some computing power to draw charts or do any other thing - Safari will tell you about it.

Using Chrome, whilst not showing the message, will quite sure consume more "power" on such website. Just be aware of that - Safari uses least power to render pages and dynamic content.
 

LFO8

macrumors member
Apr 27, 2019
47
17
If there is certain amount of JavaScript on the page which requires some computing power to draw charts or do any other thing - Safari will tell you about it.

Using Chrome, whilst not showing the message, will quite sure consume more "power" on such website. Just be aware of that - Safari uses least power to render pages and dynamic content.
I have plenty of power to spare on my MacPro that I am willing to throw at it to prioritize performance over energy savings. The irony is, that when Safari pops up this message, the webpage actually slows down and becomes laggy.
 

kemo

macrumors 6502a
Oct 29, 2008
746
114
ProtonVPN
I have plenty of power to spare on my MacPro that I am willing to throw at it to prioritize performance over energy savings. The irony is, that when Safari pops up this message, the webpage actually slows down and becomes laggy.
I see. One thing that crossed my mind is if the "Stop plug-ins to save power" wouldn't help overcome the issue? It's in the Safari - Settings / Advanced. This could tell safari that you basically don't care about saving power so it may even stops to show the banner.

Unfortunately Safari is not open sourced so there is no way to actually tell if it helps as implementation details are know only to the team in Apple.
Screenshot 2019-11-17 at 12.42.50.png
Tom
 

bogdanw

macrumors 6502a
Mar 10, 2009
975
483
I see. One thing that crossed my mind is if the "Stop plug-ins to save power" wouldn't help overcome the issue? It's in the Safari - Settings / Advanced. This could tell safari that you basically don't care about saving power so it may even stops to show the banner.

Unfortunately Safari is not open sourced so there is no way to actually tell if it helps as implementation details are know only to the team in Apple.
Tom
That translates into setting WebKitPreferences.plugInSnapshottingEnabled into ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist
Searching for WebKitPreferences.plugInSnapshottingEnabled you can find another (related?) value snapshotAllPlugIns https://github.com/WebKit/webkit/search?q=snapshotAllPlugIns&unscoped_q=snapshotAllPlugIns
Webkit is open source https://opensource.apple.com/source/WebKit2/WebKit2-7607.2.6.1.1/ and https://webkit.org
 

Tech198

macrumors G5
Mar 21, 2011
14,663
1,843
Australia, Perth
Not sure how prevent this popup, but you may be able to reduce the load by using Ghostery or other content blocker. It makes a huge difference.

I just got used to it. Zero add on's and all....

In defense, wouldn't adding add-ons make it worse, not better? Because the same act your trying to defend, s also the cause as well in some cases.

They ain't lying, closing Safari browser *should* reduce it, but i've seen cases "Finder is using sufficient energy"

What do I do now? lol
 

Similar threads

  • hoggis
2
Replies
2
Views
192
Replies
0
Views
219
Replies
3
Views
561
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.