var jabvfcr_selector; var jabvfcr_iframe = jQuery('.jabvfcr .js-inspector .js-site-preview-iframe')[0].contentWindow; jabvfcr_iframe.addEventListener("load", function() { jabvfcr_openInspector(); }); function jabvfcr_isValidSelector() { jQuery('.jabvfcr .invalid').addClass('dn'); var selector = jQuery('.jabvfcr .js-selector').val(); var isValid = jabvfcr_iframe.jabvfcr_isSelectorValid(selector); if (!isValid) { jQuery('.jabvfcr .invalid').removeClass('dn'); } return isValid; } function jabvfcr_selected(selector) { jQuery('.jabvfcr .js-selector').val(selector); jabvfcr_toggleOptions(); jQuery('.jabvfcr .invalid').addClass('dn'); } function jabvfcr_toggleOptions(hide) { jQuery('.jabvfcr .js-inspector .js-clear').toggleClass('dn', hide); } function jabvfcr_toggleOverlay(show) { jQuery('.jabvfcr .js-inspector')[show ? 'show' : 'hide'](); jQuery('body').css({ overflow: show ? 'hidden' : '' }); } function jabvfcr_updateCurrentSelector(selector) { jQuery('.jabvfcr .js-current-selector').text(selector); } function jabvfcr_getOptions() { var selector = jQuery('.jabvfcr .js-selector').val(); var manipulation = jQuery('.jabvfcr .js-manipulation:checked').val(); var content = tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val(); return { selector:selector, manipulation: manipulation, content: content }; } function jabvfcr_resetSelector() { jabvfcr_iframe.jabvfcr_resetSelector(); jQuery('.jabvfcr .js-selector').val(''); } function jabvfcr_openInspector() { jQuery('.jabvfcr .js-loading-screen').remove(); var selector = jQuery('.jabvfcr .js-selector').val(); if (selector && jabvfcr_iframe.jabvfcr_isSelectorValid(selector)) { jabvfcr_iframe.jabvfcr_updateSelector(selector); jabvfcr_toggleOptions(false); } jabvfcr_toggleOverlay(true); } function jabvfcr_saveSelector() { if (!jabvfcr_isValidSelector()) { return; } var data = { _ajax_nonce: jabvfcr_ajax.nonce, action: 'jabvfcr_save_selector', selector: jQuery('.jabvfcr .js-selector').val(), manipulation: jQuery('.jabvfcr .js-manipulation:checked').val(), content: tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val() }; jQuery.post(jabvfcr_ajax.url, data).then(function() { alert('Settings updated.'); }).fail(function() { alert('There was an unexpected error. Please try again.'); }); } (function ($) { jQuery( document ).on( 'tinymce-editor-init', function( event, editor ) { tinyMCE.activeEditor.onKeyUp.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); tinyMCE.activeEditor.onChange.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); }); jQuery('#content').keyup(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); jQuery('#content').change(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-inspector .js-clear').click(function(e) { jabvfcr_resetSelector(); jabvfcr_toggleOptions(); }); $('.jabvfcr .js-close-inspector').click(function(e) { e.preventDefault(); jabvfcr_toggleOverlay(false); }); $('.jabvfcr .js-toggle-advanced-options').click(function(e) { e.preventDefault(); $('.js-advanced-options').toggleClass('dn'); }); $('.jabvfcr form .js-submit').click(function(e) { e.preventDefault(); jabvfcr_saveSelector(); }); $('.jabvfcr form .js-selector').blur(function() { if (jabvfcr_isValidSelector()) { var selector = jQuery('.jabvfcr .js-selector').val(); jabvfcr_iframe.jabvfcr_updateSelector(selector); } }); $('.jabvfcr form .js-manipulation').change(function() { jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-open-inspector').click(function() { jabvfcr_openInspector(); }); })(jQuery); {"id":1688,"date":"2024-10-16T06:33:43","date_gmt":"2024-10-16T06:33:43","guid":{"rendered":"https:\/\/ghorbaghe.me\/?p=1688"},"modified":"2024-10-17T00:15:18","modified_gmt":"2024-10-17T00:15:18","slug":"leonbet-ta-kalytera-stoichimata-kai-bonoys-os-300-eu","status":"publish","type":"post","link":"https:\/\/ghorbaghe.me\/leonbet-ta-kalytera-stoichimata-kai-bonoys-os-300-eu\/","title":{"rendered":"Leonbet: \u03a4\u03b1 \u039a\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b1 \u03a3\u03c4\u03bf\u03b9\u03c7\u03ae\u03bc\u03b1\u03c4\u03b1 \u039a\u03b1\u03b9 \u039c\u03c0\u03cc\u03bd\u03bf\u03c5\u03c2 \u0388\u03c9\u03c2 300 Eu"},"content":{"rendered":"

Leonbet: \u03a4\u03b1 \u039a\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b1 \u03a3\u03c4\u03bf\u03b9\u03c7\u03ae\u03bc\u03b1\u03c4\u03b1 \u039a\u03b1\u03b9 \u039c\u03c0\u03cc\u03bd\u03bf\u03c5\u03c2 \u0388\u03c9\u03c2 300 Eur<\/p>\n

\u0395\u03c0\u03af\u03c3\u03b7\u03bc\u03bf\u03c2 \u0399\u03c3\u03c4\u03cc\u03c4\u03bf\u03c0\u03bf\u03c2 \u0393\u03b9\u03b1 \u0391\u03b8\u03bb\u03b7\u03c4\u03b9\u03ba\u03cc \u03a3\u03c4\u03bf\u03af\u03c7\u03b7\u03bc\u03b1 \u039a\u03b1\u03b9 \u039a\u03b1\u03b6\u03af\u03bd\u03bf \u039c\u03b5 \u039c\u03c0\u03cc\u03bd\u03bf\u03c5\u03c2 \u039c\u03ad\u03c7\u03c1\u03b9 \u039a\u03b1\u03b9 680<\/h1>\n
\n

Content<\/p>\n