watch_refresh
Version:
refreshes client browsers when changes are made, uses JSONP script tags to refresh, use this only in a secure/local environment, very light none-secure app for tinkering
25 lines (24 loc) • 789 B
HTML
<html lang='en'>
<head>
<title></title>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<style>
*{
font-family: 'Calibri', Fallback, sans-serif;
}
body{
background-color: #333;
color: #eee;
}
</style>
</head>
<body>
<h3>TEST_page </h3>
<h3> change localhost to the ip or url you need</h3>
<h3> change port to the port you defined in watch_refresh, default is 1337</h3>
<h3> don't forget to change http to https if appicable</h3>
<script src='https://127.0.0.1:1337/watch_refresh_client_script_init.js'></script>
</body>
</html>