Currently I’m working with a website that I believe has custom code that makes it so the Landing Page only appears on the first time you open the website. After that, it only goes directly to the “About” page. I was wondering if there’s any settings I can change to make the Landing Page appear each time someone goes to the site, www.neutralgroundfilms.com.
This portion of the script in the Home Page, if commented out will get rid of the cookie functionality and display the page on every visit. It’s essentially the first half before the mute functionality code.
$(document).ready(function(){
if (Cookies.get('alert')) {
window.location.href = "/about";
} else {
$('#intro').get(0).play()
.then(() => {
Cookies.set('alert', true, { expires: 1 });
//console.log('cookie agregada');
window.setTimeout(function(){
// Move to a new location
window.location.href = "/about";
}, 17000);
})
.catch(e => console.error(e));
Cookies.set('alert', true, { expires: 1 });
//console.log('cookie agregada');
window.setTimeout(function(){
// Move to a new location
window.location.href = "/about";
}, 17000);
}