Internet stops working after a while?

I use an ethernet cable and sometimes the internet just stops working. When I go into any website after about 30 minutes the internet stops working. It stops working if I keep going onto different websites aswell. If I try to open another tab it says can't load page. This happened on chrome and internet explorer. I ran a few security checks and they all found no threats. It's only internet browsers that cause the internet to stop working. I can play PC games like minecraft for how ever long I want. I don't know what the problem is. :/ thanks

Does it start working if you reboot your router or modem?

Check your network, or clear your documents
if there are occupied by junk files
it will effect the internet and stop it working smoothly.

Try deleting your history. If that doesn't work, then i suggest scanning for viruses, spyware, and malware.