| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/novablog/js/ |
Upload File : |
(function($){
$(document).ready(function(){
$('#novablog-dismiss-cookie').on( 'click', function (event){
event.preventDefault();
// Set cookie.
setCookie( cookie_banner_args.name, cookie_banner_args.value, cookie_banner_args.options );
// Hide cookie banner.
$( '#novablog-cookie-banner' ).remove();
} );
function setCookie(name, value, options) {
options = options || {};
var expires = options.expires;
if ( typeof expires == "number" && expires ) {
var d = new Date();
d.setTime(d.getTime() + expires * 1000);
expires = options.expires = d;
}
if ( expires && expires.toUTCString ) {
options.expires = expires.toUTCString();
}
value = encodeURIComponent( value );
var updatedCookie = name + "=" + value;
for ( var propName in options ) {
var propValue = options[propName];
if ( propValue !== undefined && propValue !== '' && propValue !== false ) {
updatedCookie += "; " + propName + "=" + propValue;
}
}
document.cookie = updatedCookie;
}
});
})(jQuery);