SirsiDynix "Click anywhere to return home" message
Posted: Mon Aug 26, 2024 2:41 pm
The SirsiDynix Library catalog home page has a 30 minute session timeout resulting in a message that may confuse patrons. This is coming directly from the webpage and is not a PWB message.
Using the power of PWB we can inject JavaScript into the page to refresh it every 25 minutes.
Add/Change the following in your PWB INI file:
Download the attached files:
The "sirsifilter.txt" will look for the "https://stan.ent.sirsi.net/client/en_US/cer" URL, and when found will inject the "sirsiscript.txt" file.
The "sirsiscript.txt" file adds a 25 minute timer that refreshes the page. This will reset the SirsiDynix 30 minute session timeout.
--Scott
Using the power of PWB we can inject JavaScript into the page to refresh it every 25 minutes.
Add/Change the following in your PWB INI file:
Code: Select all
[Files]
JavaScriptFilterFile=sirsifilter.txt
[Security]
CheckJavaScriptAccess=True
The "sirsifilter.txt" will look for the "https://stan.ent.sirsi.net/client/en_US/cer" URL, and when found will inject the "sirsiscript.txt" file.
Code: Select all
-all
+^https://stan.ent.sirsi.net/client/en_US/cer sirsiscript.txt
Code: Select all
setTimeout(function() {
location.reload();
}, 1500000);