dogado.online
Open in
urlscan Pro
2a06:6440:0:2d5d::1
Public Scan
Submitted URL: http://dogado.online/wp-content/plugins/jetpack/modules/widgets/eu-cookie-law/eu-cookie-law.js?ver=20170404
Effective URL: https://dogado.online/wp-content/plugins/jetpack/modules/widgets/eu-cookie-law/eu-cookie-law.js?ver=20170404
Submission: On November 16 via api from US — Scanned from DE
Effective URL: https://dogado.online/wp-content/plugins/jetpack/modules/widgets/eu-cookie-law/eu-cookie-law.js?ver=20170404
Submission: On November 16 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
( function( $ ) { var cookieValue = document.cookie.replace( /(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/, '$1' ), overlay = $( '#eu-cookie-law' ), initialScrollPosition, scrollFunction; if ( '' !== cookieValue ) { overlay.remove(); } $( '.widget_eu_cookie_law_widget' ).appendTo( 'body' ).fadeIn(); overlay.find( 'form' ).on( 'submit', accept ); if ( overlay.hasClass( 'hide-on-scroll' ) ) { initialScrollPosition = $( window ).scrollTop(); scrollFunction = function() { if ( Math.abs( $( window ).scrollTop() - initialScrollPosition ) > 50 ) { accept(); } }; $( window ).on( 'scroll', scrollFunction ); } else if ( overlay.hasClass( 'hide-on-time' ) ) { setTimeout( accept, overlay.data( 'hide-timeout' ) * 1000 ); } var accepted = false; function accept( event ) { if ( accepted ) { return; } accepted = true; if ( event && event.preventDefault ) { event.preventDefault(); } if ( overlay.hasClass( 'hide-on-scroll' ) ) { $( window ).off( 'scroll', scrollFunction ); } var expireTime = new Date(); expireTime.setTime( expireTime.getTime() + 2592000000 ); // 30 days document.cookie = 'eucookielaw=' + expireTime.getTime() + ';path=/;expires=' + expireTime.toGMTString(); overlay.fadeOut( 400, function() { overlay.remove(); } ); } } )( jQuery );