Some websites make safari go crazy, and use 70% CPU! This causes everything else on this desktop to grind to a halt.
Is there a way to restrict safari to never go beyond a certain amount of CPU?
(btw - It's not just flash)
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
It is not possible to set the CPU limit for websites, but it is possible to limit the plug ins and extensions.
Disable things like Java and Flash Player .....
or for more serious use
Enable Safari’s Hidden Debug Menu
Launch the Terminal and enter the following defaults write command:
defaults write com.apple.Safari IncludeInternalDebugMenu 1
The “Debug” menu will be visible to the far right in Safari’s menubar choices. If you want to disable the menu, go back to the Terminal and type:
defaults write com.apple.Safari IncludeInternalDebugMenu 0
There are a few extensions that can help you.
ClickToPlugin is a great extension as it lets you block any plugin you want. While plugins run in their own processes, they often tend to be poorly written resource hogs (I'm looking at You, Adobe Flash!).
Any script blocker will do. There are several 3rd party scripts used by various websites that are not only annoying, they can also be huge resource hogs.