window.advanced_ads_ready=function(e,a){a=a||"complete";var d=function(e){return"interactive"===a?"loading"!==e:"complete"===e};d(document.readyState)?e():document.addEventListener("readystatechange",(function(a){d(a.target.readyState)&&e()}),{once:"interactive"===a})},window.advanced_ads_ready_queue=window.advanced_ads_ready_queue||[];
flexibility(document.documentElement);
//# sourceURL=astra-flexibility-js-after
var breeze_prefetch = {"local_url":"https://www.cretetip.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://www.cretetip.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://www.cretetip.com/wp-includes/js/jquery/jquery-migrate.min.js
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({
appId: "12adf5cc-f450-4a74-8869-3f3c35ff9485",
serviceWorkerOverrideForTypical: true,
path: "https://www.cretetip.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/",
serviceWorkerParam: { scope: "/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/push/onesignal/" },
serviceWorkerPath: "OneSignalSDKWorker.js",
});
});// Unregister the legacy OneSignal service worker to prevent scope conflicts
if (navigator.serviceWorker) {
navigator.serviceWorker.getRegistrations().then((registrations) => {
// Iterate through all registered service workers
registrations.forEach((registration) => {
// Check the script URL to identify the specific service worker
if (registration.active && registration.active.scriptURL.includes('OneSignalSDKWorker.js.php')) {
// Unregister the service worker
registration.unregister().then((success) => {
if (success) {
console.log('OneSignalSW: Successfully unregistered:', registration.active.scriptURL);
} else {
console.log('OneSignalSW: Failed to unregister:', registration.active.scriptURL);
}
});
}
});
}).catch((error) => {
console.error('Error fetching service worker registrations:', error);
});
}
window.KoalaLinksConfig = {
inlineRelatedPostTemplate: `
<div class="kl-inline-related-post">
<span class="kl-related-post__title">READ ALSO:</span>
<a class="kl-related-post__link" href="{{url}}">{{title}}</a>
</div>
`,
}
var script = document.createElement("script");
script.defer = true;
script.src = "https://koala.sh/api/eucalyptus.js?domainId=b8667cce-3e5b-49db-813b-2afcce30017b&page=" + encodeURIComponent(window.location.protocol + "//" + window.location.host + window.location.pathname);
document.head.appendChild(script);
Skip to content Crete Tip
Scroll to Top
/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
https://www.cretetip.com/wp-includes/js/imagesloaded.min.js
https://www.cretetip.com/wp-includes/js/masonry.min.js
https://www.cretetip.com/wp-includes/js/jquery/jquery.masonry.min.js
https://www.cretetip.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () {
window.lazyLoadInstance = new LazyLoad({
elements_selector: ".br-lazy",
data_src: "breeze",
data_srcset: "brsrcset",
data_sizes: "brsizes",
class_loaded: "br-loaded",
threshold: 300,
});
});
//# sourceURL=breeze-lazy-js-after
https://www.cretetip.com/wp-content/plugins/advanced-ads/admin/assets/js/advertisement.js
var MailPoetForm = {"ajax_url":"https://www.cretetip.com/wp-admin/admin-ajax.php","is_rtl":"","ajax_common_error_message":"An error has happened while performing a request, please try again later."};
//# sourceURL=mailpoet_public-js-extra
https://www.cretetip.com/wp-content/plugins/mailpoet/assets/dist/js/public.js
var statify_ajax = {"url":"https://www.cretetip.com/wp-admin/admin-ajax.php","nonce":"3cc6f24989"};
//# sourceURL=statify-js-js-extra
https://www.cretetip.com/wp-content/plugins/statify/js/snippet.min.js
window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}));
!function(){window.advanced_ads_ready_queue=window.advanced_ads_ready_queue||[],advanced_ads_ready_queue.push=window.advanced_ads_ready;for(var d=0,a=advanced_ads_ready_queue.length;d<a;d++)advanced_ads_ready(advanced_ads_ready_queue[d])}();