Are you looking for a Javascript that allows your users to refresh pages on your website? If you are this html code is for you. You can create a button like below on your website.
This code comes in useful when you are rotating content on your webpages, but you can use it for any purpose you need.