Google celebrates Jordan’s Independence Day with doodle

No Image

AMMAN — Search engine giant Google celebrated Jordan’s 75th Independence Day through a doodle on google.jo throughout Tuesday. The country gained its full independence on May 25, 1946, following the end of the British mandate, which started with the establishment of Transjordan as an emirate in 1921.

After the independence, Jordan was pronounced a Kingdom under the leadership of King Abdullah I.

.col-lg-12.second .opinion-widget{border-top:1px solid #D0D0D0;} #widget_1623 .opinions-title {font-size:32px;} #widget_1623 .opinions-title a{font-size:32px;}
.epaper-separator{ height: 1px; width: 100%; background-color: #D0D0D0; margin: 15px 0; }

Today’s Paper

.related-articles .article-widget-sm .article-title{font-size:16px;-webkit-line-clamp:3;} .related-articles .layout-ratio{padding-bottom:55%;}
.alert-success { color :#A3656F ; } .alert-danger { color : red ; } .footer { font-family:Myriad Pro,Arial; } .newspaper-footer{ visibility:hidden; }
function validateEmail(email) { // Check length if (email.length > 255) { return false; } // Basic email regex const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; if (!emailRegex.test(email)) { return false; } // Additional checks if (email.includes('..') || email.startsWith('.') || email.endsWith('.')) { return false; } return true; } function sanitizeInput(input) { // Remove HTML tags input = input.replace(/<[^>]*>/g, ''); // Remove JavaScript: protocol input = input.replace(/javascript:/gi, ''); // Remove event handlers input = input.replace(/on\w+\s*=/gi, ''); // Remove dangerous characters for email context input = input.replace(/[<>"'&(){}[\]]/g, ''); return input.trim(); } document.addEventListener('DOMContentLoaded', function () { function showModal(message,type) { const messageContainer = document.getElementById("messageContainerFooter"); messageContainer.textContent = message; messageContainer.className = `alert alert-${type} mt-3`; // Bootstrap alert styling messageContainer.classList.remove("d-none"); // Hide message after 5 seconds setTimeout(() => { messageContainer.classList.add("d-none"); }, 5000); } document.getElementById("emailFormFooter").addEventListener("submit", function(event) { event.preventDefault(); const emailInput = document.getElementById("emailFooter"); const email = sanitizeInput(emailInput.value.trim()); if (!validateEmail(email)) { showModal('Invalid email format','danger'); return; } const formData = new FormData(); formData.append('email', email); fetch('/subscribeNewsletter', { method: "POST", body: formData, headers: { "Accept": "application/json", "X-Requested-With": "XMLHttpRequest" } }) .then(response => { if (!response.ok) { showModal("Error submitting email. Try again.",'danger'); } return response.json(); }) .then(data => { showModal(data.message,'success'); }) .catch(error => { showModal("Error submitting email. Try again.",'danger'); }); }); });