I found this snippet:
(function( cn, url ) { if( navigator.cookieEnabled && !new RegExp( "(^|\\s|\\;)" + cn + "=1(\\;|\\s|$)").test( document.cookie ) ) { document.cookie = cn + '=1'; location.assign( url ); } })( "thisSession", "splash.html" );
Source: http://wcdco.info/tF
How I could add a delay, lets say 1 minute?
In Javascript there is the setTimeout() function for that.
Window setTimeout() Method
Window Object
Definition and Usage
The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds.
Tip: 1000 ms = 1 second.
http://www.w3schools.com/jsref/met_win_settimeout.asp