javascript detect refresh page code example Example: javascript refresh page automatically <meta http-equiv="refresh" content="30"/>