Why does browser go dark for a few seconds on some websites

When I visit some websites, the browser goes dark like a funnel closing in and stays that way for a few seconds. Then it goes back to normal. It is very annoying. Is it a setting? A privacy feature? Only on my computer? how can I stop it?

Thanks