`;loginAccount.classList.add('login');loginAccount.innerHTML = GetShortName(full_name);loginAccount.setAttribute("href", "javascript:;");loginAccount.innerHTML += userProfile;loginAccount.addEventListener("click", () => {loginAccount.classList.toggle("opened");}, { passive: true });const footerUyelikButton = document.querySelector('#uyelikButton');if (footerUyelikButton) {footerUyelikButton.setAttribute('href', '#');footerUyelikButton.setAttribute('data-redirecter', "popup");footerUyelikButton.addEventListener('click', function (event) {event.preventDefault();showProfile();});}}if (h16Header) {h16Header.setAttribute("href", profileLink);let loginPlaces = document.querySelectorAll(".login-user");[].forEach.call(loginPlaces, element => {element.innerText = GetShortName(full_name)});}if (gmConnectBtn && gmLoginAfter) {gmConnectBtn.remove();gmLoginAfter.remove();[].forEach.call(gmLoginContainers, element => {element.classList.add('gm-show');});[].forEach.call(gmLoginInfoElements, element => {element.innerHTML = GetShortName(full_name);});[].forEach.call(gmLogoutButtons, element => {element.setAttribute("href", "javascript:void(0);");});}function showProfile() {DM.profile.showPopup();};document.getElementById("showProfileButton").addEventListener('click', function () {showProfile();});}function onFailure(error) {popupShowRule();setCookie("firstLogin", false, -1);if (document.getElementById('logoutbtn') != null) {document.getElementById('logoutbtn').style.display = 'none';}let loginAccount = document.querySelector('.header__external--account');let h16Header = document.querySelector(".h16-header");if (loginAccount) {loginAccount.classList.remove('login');}if (h16Header) {loginAccount.setAttribute("href", "javascript:void(0)");let loginPlaces = document.querySelectorAll(".login-user");[].forEach.call(loginPlaces, element => {element.innerText = "GİRİŞ";});}console.log('onFailure', error);}function popupShowRule() {let isReferralValid = false;let isWebSiteFirstVisit = false;let isMainPageAutoReload = false;let documentReferrer = document.referrer;if (documentReferrer.includes(".milliyet.com.tr") || documentReferrer.includes("localhost") || documentReferrer == "") {isReferralValid = true;}if (isReferralValid) {if (getCookie("isWebSiteFirstVisit") == "") {setCookie("isWebSiteFirstVisit", true, 1);isWebSiteFirstVisit = true;}if (isWebSiteFirstVisit == false && getCookie("isPopupShow") == "") {setCookie("isPopupShow", true, 7);let googleFastLoginControlText = document.getElementById("googleFastLoginControl").value;if (googleFastLoginControlText == 1) {console.log("OneTap: Mobile, Web On");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}else if (googleFastLoginControlText == 2 && IsMobile()) {console.log("OneTap: Mobile On, Web Off");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}else if (googleFastLoginControlText == 3 && !IsMobile()) {console.log("OneTap: Mobile Off, Web On");loadGoogleTapOneJs("https://accounts.google.com/gsi/client");}}}}function setCookie(cname, cvalue, exdays) {const d = new Date();d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));let expires = "expires=" + d.toUTCString();document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";}function getCookie(cname) {let name = cname + "=";let decodedCookie = decodeURIComponent(document.cookie);let ca = decodedCookie.split(';');for (let i = 0; i < ca.length; i++) {let c = ca[i];while (c.charAt(0) == ' ') {c = c.substring(1);}if (c.indexOf(name) == 0) {return c.substring(name.length, c.length);}}return "";}function IsMobile() {return /iPhone|iPod|Windows Phone|Opera Mini|BlackBerry|webOS|Android.+Mobile/i.test(navigator.userAgent);}function GetShortName(full_name) {if (full_name) {let names = full_name.split(' ');full_name = names[0];if (names.length > 0) {full_name = names[0][0] + '.' + names[names.length-1][0] + '.';}}return full_name;console.log("Version update v3");}}} catch (e) {}});
.
Devamını oku.
Devamını oku.
Devamını oku.
Devamını oku.
Devamını okuTürkiye Cumhuriyeti Kültür ve Turizm Bakanlığı'nın destekleriyle Elazığ Valiliği tarafından ilk kez düzenlenecek olan "Harput Kısa Film Festivali"nin jüri üyeleri belirlendi.
Devamını oku.
Devamını oku.
Devamını oku