“Teachers are exposed”
“A night out can be organized as part of a multi-day excursion or some other event, such as a prom. There are no clear regulations, no framework. Colleagues are not covered for anything that happens”, he explains to “ET”. Nikiforos Konstantinou, professor and member of the Board of Directors. of OLME.
The Ministry of Education, however, according to information, is working on a modern legal framework for school trips, as it embraces the concerns of teachers.
A few weeks ago, the teachers’ federation called on colleagues not to participate in the multi-day school trips – which are usually organized shortly after Christmas – asking, among other things, for a change in the legal framework, with the aim of protecting accompanying teachers.
Besides, incidents of wild drunkenness on excursions, with large amounts of alcohol by minors, have been recorded in the past. “What we are asking is for there to be a framework for the places a school can visit. Central instructions should be given, it should be included in the internal regulations of each school, parents should also be informed about the framework that is observed in every excursion or event from the afternoon onwards, so that the teacher does not move alone and is unprotected” .
In an informal setting, teachers in case the students go to a tavern or cafe or a shop that is open after the afternoon, are present and are responsible for the supervision of the minors. There is an agreement with the store to explicitly prohibit the provision of alcohol to students, but according to Mr. Konstantinou this is not enough.
/* — 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 = 1554298;
};
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
#Concerns #school #trips #Ministry #Education
It looks like you’ve pasted a chunk of JavaScript code related to ad management and script loading on a website. The code contains segments for handling various advertising platforms, such as Google AdSense, OneSignal for push notifications, Disqus for comments, and other ad networks. Here’s a brief outline of what the code is doing, as well as some suggestions on potential improvements:
### Code Breakdown
1. **AdSense Slot Removal**:
- The code removes specific AdSense slots for mobile devices based on a condition.
2. **AdSense Slot Handling**:
– It looks for AdSense slots and would typically execute some code for each, although the code within the `forEach` loop is currently empty.
3. **OneSignal Initialization**:
– The OneSignal SDK is initialized with a specific app ID, allowing for push notification capabilities.
4. **Disqus Configuration**:
– Sets up Disqus for comments by defining the URL and identifier for a specific page.
5. **Asynchronous Script Loading**:
– There are multiple instances where `asyncLoadScript` is intended to load additional scripts related to various ad management platforms, but the actual URLs or script sources are not provided in this snippet.
6. **Commented Out Sections**:
– There are also some commented-out blocks for other services (like CleverCore, Taboola/Project Agora, etc.), which indicates that the code may be a work in progress or adaptable depending on which services are to be used.
7. **Timeouts**:
– Certain actions are delayed with `setTimeout`, which is often used to give the page time to load before executing script injections related to ads.
### Suggestions for Improvement
1. **Complete Script URLs**:
– Make sure to fill in the actual URLs for any scripts you intend to load using `asyncLoadScript`. For instance, where it says `asyncLoadScript(‘`, complete that line with the appropriate script source.
2. **Error Handling**:
– Add error handling to the script loading functions to gracefully handle scenarios where a script fails to load.
3. **Optimize Use of `setTimeout`**:
– Evaluate the need for `setTimeout` delays. If they’re necessary for certain elements to load first, consider using a more robust event-driven approach, such as waiting for the DOM to be fully loaded.
4. **Code Clarity**:
– Clean up any excessive comments, especially those that outline functionality that is not currently enabled (like CleverCore).
5. **Asynchronous Loading**:
– Ensure that your ad slots are being managed efficiently to avoid blocking content rendering; consider loading ads only when they are likely to be viewed.
6. **Maintainability**:
– Use consistent naming conventions for functions and variables, and ensure the code is well-documented to make it easier for others (or yourself in the future) to understand its purpose.
7. **Security**:
– Evaluate any dynamic content loading for potential security vulnerabilities such as XSS (Cross-Site Scripting).
By addressing these points, the provided code can transition towards a more robust solution for handling advertisements and scripts on your website.