### JavaScript: Inject session timeout meta refresh Source: https://github.com/0xaf/openwebrxplus/blob/master/htdocs/include/header.include.html This script runs on page load. It determines the current page from the URL path and, if the page is empty and a session timeout is set, injects a meta refresh tag pointing to the usage policy URL. ```javascript var path = window.location.pathname; var page = path.split("/").pop(); document.getElementById("pstt").innerHTML = ((page==="") && (${session\_timeout}>0))? "" : ""; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.