Specifically, according to the Geodynamic Institute of the National Observatory of Athens today, at 02:37 Greek time, the seismological network recorded a weak seismic tremor with a magnitude of 4.3 on the Richter scale. The earthquake occurred at a distance of 156 km W of Athens. The epicenter of the tremor is located 16 km SW of Kalavryta.
Earthquake in Kalavryta: “It has no impact on the region of Achaia”
“The earthquake, measuring 4.3 on the Richter scale, which occurred at 2:37 in the morning with an epicenter 16 kilometers west, southwest of Kalavryta, has practically no impact on the region of Achaia,” he said, speaking to APE- MEP, Athanasios Ganas, research director of the Geodynamic Institute of the National Observatory.
As he added, “the seismic tremor occurred under the Peloponnese on the subducting African plate, it was of intermediate depth, characteristic of the arc and has not repeated any impact on Achaia”.
In the meantime, according to the Fire Department, no damage has been reported from the earthquake.
Earthquake: What to do at the time of the tremor
Citizens can find specific instructions on what to do during the earthquake and after the earthquake on the website of the general secretariat of Civil Protection. Here are the instructions:
When an earthquake occurs:
If you are inside the house
Keep your cool. Take cover under some sturdy piece of furniture (table, desk, desk), kneel down and hold his leg with your hands. If there is no sturdy furniture, kneel in the middle of the room, reducing your height as much as possible and protect your head and neck with your hands. Move away from large glass surfaces (windows, glass partitions) or furniture and objects that could injure you. Do not try to move away from home. Do not go out on the balcony.
If you are in a tall building
Move away from windows and exterior walls.
If you are in an entertainment area, shopping center or large store
Keep your cool. Stay in the area until the vibration stops. Don’t get carried away by the panicked crowd moving disorderly towards the exits or you risk getting trampled.
If you are in an open area
Move away from areas under buildings, telephone or power lines. If you have a bag or briefcase with you, cover your head with it.
If you are in the car
Take refuge in an open space and stop the car carefully so that it does not obstruct traffic. Avoid going through tunnels, bridges or overpasses.
Schertzos for US elections: The Greek government will cooperate with whichever President is elected
Survivor: The teasing for Giannis and Phoebe “caught fire”. [βίντεο]
Thessaloniki: Armed robbery at a gaming store in Neapoli
/* — 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 = 1558787;
};
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
#Strong #earthquake #Kalavryta
Script type=text/javascript
It looks like you have a JavaScript snippet that involves loading various advertising and analytics services. Here’s a breakdown of what’s happening along with some recommendations and improvements:
### Key Components in the Snippet
1. **Adsense Removal for Mobile**:
– The snippet checks for elements with the class `adsense-for-mobile` and removes the AdSense script if conditions are met.
2. **AdSense Script Handling**:
– It looks for elements with the class `adsbygoogle` and prepares to handle them. However, the actual asynchronous loading of the scripts seems to be commented out or incomplete.
3. **Adman Initialization**:
– Phaistos Adman is being used, and a call to its adunit function is initiated but left incomplete.
4. **OneSignal Initialization**:
– The OneSignal service is being initialized with an app ID inside a deferred script loader pattern.
5. **Disqus Setup**:
– Disqus integration is prepared but not fully completed. The script’s source URL is incomplete.
6. **CleverCore**:
– The CleverCore loading script is commented out, but it includes a method to create a script element and load the script asynchronously.
7. **Taboola/Project Agora and Other Ad Networks**:
– Space for loading scripts from Taboola, Google AdSense, and Glomex is there but incomplete.
### Suggestions for Improvement
1. **Complete the Script URLs**:
– Ensure that all script sources, such as the URLs for Disqus and the various ad services, are correctly completed.
2. **Error Handling / Fallbacks**:
– Consider adding error handling for the script loading functions to deal with unsuccessful loads.
3. **Use of Promises**:
– If using modern JavaScript, consider using Promises or `async/await` for better control over the asynchronous loading of scripts.
4. **Organize Script Loading**:
– Instead of using multiple `setTimeout` calls, handle all scripts using a unified function that takes care of loading scripts in sequence or parallel as needed.
5. **Performance Optimization**:
– Avoid loading scripts unnecessarily if not required. Check for the visibility of ads or establish user preferences before loading.
### Example of a Simple Async Load Function
Here’s an example of how you might define and use an `asyncLoadScript` function:
“`javascript
function asyncLoadScript(url) {
return new Promise((resolve, reject) => {
const script = document.createElement(‘script’);
script.src = url;
script.onload = resolve;
script.onerror = reject;
document.head.appendChild(script);
});
}
// Example usage
asyncLoadScript(‘https://example.com/some-script.js’)
.then(() => {
console.log(‘Script loaded successfully’);
})
.catch((error) => {
console.error(‘Error loading script’, error);
});
“`
### Conclusion
The code snippet you’re working with is a part of an ad management system. Ensure that any critical URLs or configurations are properly set up. Following modern JavaScript practices can improve the maintainability and efficiency of your code.