Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.145.21.89
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : guest.js
var litespeed_vary = document.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\=\s*([^;]*).*$)|^.*$/, '$1');
if (!litespeed_vary) {
	// Note: as the vary may be changed in Login Cookie option, even the visitor doesn't have this cookie, it doesn't mean the visitor doesn't have the vary, so still need PHP side to decide if need to set vary or not.
	fetch('litespeed_url', {
		method: 'POST',
		cache: 'no-cache',
		redirect: 'follow',
	})
		.then(response => response.json())
		.then(data => {
			console.log(data);
			if (data.hasOwnProperty('reload') && data.reload == 'yes') {
				// Save doc.ref for organic traffic usage
				sessionStorage.setItem('litespeed_docref', document.referrer);

				window.location.reload(true);
			}
		});
}
© 2025 GrazzMean-Shell