How to fix Safari SecurityError : Attempt to use history.replaceState() more than 100 times per 30seconds ?

I've developed a next js website with which works fine with android devices browsers and also any web browser but not iOS devices browsers and safari web browser on Macbook .


The problem is while navigating between website pages ( links ) the website hangs for a long time and doesn't navigate anywhere at all and the only way I can get the website to work again is by refreshing on that page .


I've checked the console on Macbook safari dev tools and I saw this error :



I don't know what causes this error .


How can I fix this error with iOS devices browsers and also safari web browser on mac and what's the cause of it ?


Thanks in advance .

Posted on May 17, 2022 4:47 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to fix Safari SecurityError : Attempt to use history.replaceState() more than 100 times per 30seconds ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.