The shocking images circulating on the Internet of high school students fainting in one of the most central parts of Athens, waiting for ambulances, seem to “activate” the relevant services, with new targeted checks in large stores across the country, in an effort to limit the phenomenon of alcohol administration at young ages. Now the goal is to increase preventive checks, with a more frequent presence of mixed levels in establishments of health interest.
Smuggling and counterfeiting
At the same time, the newly established “Hellenic FBI” continues its checks to end the activity of rings that channel counterfeit alcohol into the market. Within 2024, the echelons of the Economic Police Directorate had managed 5 cases of alcohol smuggling and 9 cases of forgery. Last March, 20 people were arrested in possession of 5,762 liters of ethyl alcohol and 746 liters of other alcoholic liquids. A year ago, EL.AS. had ended the action of a criminal group that had “pushed” 500,000 adulterated drinks with… “wet fire” from Bulgaria into the Greek market. The authorities found the counterfeit drinks of the criminal organization in a well-known night club with live music in Iera Odos, after a check they carried out last March.
As part of the investigation carried out by the Security, the police continue to look for the owner, the managers of the place, and also the organizers of the party as responsible for the supply of alcohol to minors. In the hands of EL.AS. a 20-year-old man was identified as temporarily responsible and arrested for endangering minors. However, so far, no prosecutions have been brought against him by the public prosecutor, until the real responsible parties have been identified.
Litigation
“The first priority is to arrest the people who gave the alcohol to the students. A case has been filed. Of course, the check will also be done to determine if the drinks were adulterated, but alcohol should not have been given in the first place, and for that we are looking for those responsible”, police sources note.
The bottles seized from the nightclub are already being analyzed at the State Chemistry. Answers will also be given from the tests to which the eight students who were taken to the hospital have been submitted, the results of which are expected at the end of the week.
Security officials want to ascertain if the store was the one that supplied the alcohol or if it simply provided the space to a party organization company, which had undertaken the event on behalf of the schools’ Fifteen-Member Student Councils. “We will deal hard with any illegality in Athens. To whom it may concern, to whom it may concern. Tomorrow (s.s.: today) to the Municipal Council I propose the closure of the specific bar in Vouliagmenis”, the mayor of Athens, Haris Doukas, said in a statement, following the directive of EL.AS. to seal the business.
/* — PerfOps by Nuevvo (nuevvo.com) — */
// Utilities
const allScripts = document.getElementsByTagName(‘script’);
window.lst = allScripts[allScripts.length – 1];
window.isMobile=(function() {var ua=navigator.userAgent||navigator.vendor||window.opera;return ((/Android/i).test(ua) && (/Mobile/i).test(ua)) || (/BlackBerry|iPhone|iPod|Opera Mini|IEMobile/i).test(ua);})();
function asyncLoadScript(url) {
var alScript = document.createElement(‘script’);
alScript.src = url;
alScript.async = true;
//window.lst.parentNode.insertBefore(alScript, window.lst);
document.body.appendChild(alScript);
}
function asyncLoadModule(url) {
var alScript = document.createElement(‘script’);
alScript.src = url;
alScript.type=”module”;
//window.lst.parentNode.insertBefore(alScript, window.lst);
document.body.appendChild(alScript);
}
function displaySlot(id) {
if (document.querySelector(‘#’+id)) {
googletag.display(id);
}
}
// Fix OCM JS errors
window.defineSlots = function(t, r){};
/*! instant.page v5.2.0 – (C) 2019-2023 Alexandre Dieulot – */
(function(){
let t,e,n,o,i,a=null,s=65,c=new Set;const r=1111;function d
})();
// InMobi Choice. Consent Manager Tag v3.0 (for TCF 2.2)
setTimeout(() => {
var host=”eleftherostypos.gr”;var element=document.createElement(‘script’);var firstScript=document.getElementsByTagName(‘script’)[0];var url=” uspTries=0;var uspTriesLimit=3;element.async=true;element.type=”text/javascript”;element.src=url;firstScript.parentNode.insertBefore(element,firstScript);function makeStub(){var TCF_LOCATOR_NAME=’__tcfapiLocator’;var queue=[];var win=window;var cmpFrame;function addFrame(){var doc=win.document;var otherCMP=!!(win.frames[TCF_LOCATOR_NAME]);if(!otherCMP){if(doc.body){var iframe=doc.createElement(‘iframe’);iframe.style.cssText=”display:none”;iframe.name=TCF_LOCATOR_NAME;doc.body.appendChild(iframe);} else {setTimeout(addFrame,5);}}return !otherCMP;}function tcfAPIHandler(){var gdprApplies;var args=arguments;if(!args.length){return queue;} else if(args[0]===’setGdprApplies’){if(args.length > 3 &&args[2]===2 &&typeof args[3]===’boolean’){gdprApplies=args[3];if(typeof args[2]===’function’){args[2](‘set’,true);}}} else if(args[0]===’ping’){var retr={gdprApplies: gdprApplies,cmpLoaded: false,cmpStatus: ‘stub’};if(typeof args[2]===’function’){args[2](retr);}} else {if(args[0]===’init’ && typeof args[3]===’object’){args[3]=Object.assign(args[3],{ tag_version: ‘V3′ });}queue.push(args);}}function postMessageEventHandler(event){var msgIsString=typeof event.data===’string’;var json={};try {if(msgIsString){json=JSON.parse(event.data);} else {json=event.data;}} catch (ignore){}var payload=json.__tcfapiCall;if(payload){window.__tcfapi(payload.command,payload.version,function(retValue,success){var returnMsg={__tcfapiReturn: {returnValue: retValue,success: success,callId: payload.callId}};if(msgIsString){returnMsg=JSON.stringify(returnMsg);}if(event && event.source && event.source.postMessage){event.source.postMessage(returnMsg,’*’);}},payload.parameter);}}while (win){try {if(win.frames[TCF_LOCATOR_NAME]){cmpFrame=win;break;}} catch (ignore){}if(win===window.top){break;}win=win.parent;}if(!cmpFrame){addFrame();win.__tcfapi=tcfAPIHandler;win.addEventListener(‘message’,postMessageEventHandler,false);}}makeStub();var uspStubFunction=function(){var arg=arguments;if(typeof window.__uspapi!==uspStubFunction){setTimeout(function(){if(typeof window.__uspapi!==’undefined’){window.__uspapi.apply(window.__uspapi,arg);}},500);}};var checkIfUspIsReady=function(){uspTries++;if(window.__uspapi===uspStubFunction && uspTries 0) {
//asyncLoadScript(‘
adSenseSlots.forEach(function(e){
});
}
// Phaistos Adman
//asyncLoadScript(‘
window.AdmanQueue=window.AdmanQueue||[];
AdmanQueue.push(function(){Adman.adunit({id:338,h:’
// OneSignal
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(function(OneSignal) {
OneSignal.init({
appId: “487cc53b-3b66-4f84-8803-3a3a133043ab”,
});
});
// Disqus
var disqus_config = function() {
this.page.url=”
this.page.identifier = 1554317;
};
setTimeout(function(){
(function() {
var d = document,
s = d.createElement(‘script’);
s.src=”
s.setAttribute(‘data-timestamp’, +new Date());
(d.head || d.body).appendChild(s);
})();
}, 3000);
function cmpActionCompleted() {
// OCM & DFP
//asyncLoadScript(‘
asyncLoadScript(‘
asyncLoadScript(‘
/*
// CleverCore
(function(document, window) {
var a, c = document.createElement(“script”);
c.id = “CleverCoreLoader57097″;
c.src = ”
c.async = !0;
c.type = “text/javascript”;
c.setAttribute(“data-target”, window.name);
c.setAttribute(“data-callback”, “put-your-callback-macro-here”);
try {
a = parent.document.getElementsByTagName(“script”)[0] || document.getElementsByTagName(“script”)[0];
} catch (e) {
a = !1;
}
a || (a = document.getElementsByTagName(“head”)[0] || document.getElementsByTagName(“body”)[0]);
a.parentNode.insertBefore(c, a);
})(document, window);
*/
// Taboola/Project Agora
asyncLoadScript(‘
asyncLoadScript(‘
// For Google AdSense
if (document.querySelectorAll(‘.adsbygoogle’).length) {
asyncLoadScript(‘
}
// Phaistos Adman
asyncLoadScript(‘
// Glomex
if (document.querySelectorAll(‘glomex-integration’).length) {
setTimeout(function(){
asyncLoadModule(‘
}, 2000);
}
// Dalecta
setTimeout(() => asyncLoadScript(‘ 800);
// Vidoomy
//asyncLoadScript(‘
// Weather
setTimeout(() => asyncLoadScript(‘ 1000);
/*
// Facebook Pixel
!function(f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function() {
n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = ‘2.0’;
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, ‘script’, ‘
fbq(‘init’, ‘618972382017166’);
fbq(‘track’, ‘PageView’);
*/
// OneSignal
setTimeout(() => asyncLoadScript(‘ 5000);
}
// Microsoft Clarity
(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src=”https://www.clarity.ms/tag/”+i+”?ref=wordpress”;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document, “clarity”, “script”, “l14tw277rg”);
// Yandex Metrica
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for(var j=0;j<document.scripts.length;j++){if(document.scripts[j].src===r){return;}}k=e.createElement
#Serving #alcohol #minors #Barrage #checks #clubs
It looks like you have a script that’s managing various advertising and analytics integrations for a webpage. Here are some insights and potential improvements based on the provided code snippet:
### Overview
1. **Ad Management**:
– The code seems to check for AdSense slots and handle their loading or removal conditionally.
- It also integrates other ad networks like Phaistos Adman and Vidoomy.
2. **Asynchronous Script Loading**:
– Various scripts are loaded asynchronously to optimize page load times.
3. **Modular Approach**:
– The code structure suggests a modular approach for managing different ad services, which is good for maintainability.
### Suggestions for Improvement
1. **Complete the Async Load Functionality**:
– The `asyncLoadScript` and `asyncLoadModule` calls are incomplete. Ensure you provide the appropriate URLs or paths for those scripts.
“`javascript
function asyncLoadScript(url) {
const script = document.createElement(‘script’);
script.src = url;
script.async = true;
document.head.appendChild(script);
}
“`
2. **Error Handling**:
– Implement error handling for script loading failures to avoid breaking the functionality if a script fails to load.
“`javascript
script.onerror = function() {
console.error(`Failed to load script: ${url}`);
};
“`
3. **Define Variables**:
- Ensure all used variables and placeholders (e.g., `put-your-callback-macro-here`) are properly defined before usage.
4. **Use Proper String Handling**:
– In cases where you concatenate or include dynamic values in strings, make sure to use template literals for better readability and to avoid issues with escaping quotes.
“`javascript
this.page.url = `https://your-page-url.com`;
“`
5. **Comment Cleaning**:
– Remove unnecessary comments and commented-out code segments to make the script cleaner and more readable.
6. **Set Timers Wisely**:
– Be cautious with `setTimeout` for script loading; consider the optimal loading strategy based on user experience. Load critical scripts first.
7. **Load Optimization**:
– Consider using the `defer` attribute along with `async` to ensure that scripts load in the order they appear in the document if needed.
8. **Debugging Information**:
– Include a debugging option that allows logging the status of various integrations in the console. This is useful for troubleshooting.
### Example Code Snippet
Here’s a revised version of the script handling some of the recommendations:
“`javascript
document.querySelectorAll(‘.adsense-for-mobile’).forEach(function(e) {
e.querySelector(‘.adsbygoogle’).remove();
});
const adSenseSlots = document.querySelectorAll(‘.adsbygoogle’);
if (adSenseSlots.length > 0) {
adSenseSlots.forEach(function(slot) {
// Load respective script for each slot if necessary
// asyncLoadScript(slot.dataset.scriptUrl);
});
}
window.AdmanQueue = window.AdmanQueue || [];
AdmanQueue.push(function() {
Adman.adunit({ id: 338, h: ‘…’ }); // Ensure to complete parameters
});
// OneSignal init
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(function(OneSignal) {
OneSignal.init({ appId: “487cc53b-3b66-4f84-8803-3a3a133043ab” });
});
// Disqus integration
var disqus_config = function() {
this.page.url = “https://your-page-url.com”; // Set correct URL
this.page.identifier = 1554317;
};
setTimeout(function() {
var d = document, s = d.createElement(‘script’);
s.src = ‘https://your-disqus-url.com’;
s.setAttribute(‘data-timestamp’, +new Date());
(d.head || d.body).appendChild(s);
}, 3000);
// Function to load external scripts
function asyncLoadScript(url) {
const script = document.createElement(‘script’);
script.src = url;
script.async = true;
script.onerror = function() {
console.error(`Failed to load script: ${url}`);
};
document.head.appendChild(script);
}
// Call your async script loader functions accordingly throughout your code
“`
### Conclusion
By implementing these improvements, your ad management system should become more robust, maintainable, and user-friendly. Make sure to test all integrations thoroughly after applying changes!