أفضل 30 مود لماين كرافت الجوال 1.21.30
تعليقات
موقع اليوتيوبر Moad BidroX
إعلان العملاء
"); // ========= 2) حقن CSS باستخدام template literals ========= var style = ` #pageredirect { position: relative; overflow: hidden; display: block; text-align: center; width: -webkit-calc(100% / ${redirect_width}); width: calc(100% / ${redirect_width}); min-height: 300px; margin: 30px auto; } #pageredirect .clom { position: relative; overflow: hidden; display: block; clear: both; } #pageredirect .radialbtn { margin-bottom: 20px; padding: 15px; } #pageredirect .radialbtn a { border-style: solid; border-width: 5px; border-color: rgba(0,0,0,0.03); display: inline-block; background-color: #f8f8f8; padding: 15px 20px; min-width: 200px; font-size: 14px; cursor: progress; color: #000000; } #pageredirect .radialbtn a.disabled { cursor: no-drop; background-color: #ffcfcf; color: #de6262; } #pageredirect .radialbtn a.active { cursor: pointer; background-color: #5ce65c; color: #0f4d0f; } #pageredirect .radialads { background-color: ${redirect_color}; margin: 0px; } #pageredirect .radialads p { background-color: #fdfdfd; font-size: 1.5em; border-width: 7px; border-style: dotted; border-color: #f8f8f8; padding: 15px; } #pageredirect .radialads a { color: #000000; } #pageredirect .radialads a:hover { color: ${redirect_color}; } #pageredirect .radialtimer { width: 200px; height: 200px; margin: 0px auto; } #pageredirect .radialtimer .n { position: absolute; width: 200px; height: 200px; background: white; text-align: center; line-height: 200px; font-family: sans-serif; font-size: 100px; color: #000000; } #pageredirect .radialtimer .slice { position: absolute; width: 200px; height: 200px; clip: rect(0px, 200px, 200px, 100px); padding-top: 3px; padding-bottom: 10px; } #pageredirect .radialtimer .slice.nc { clip: rect(auto, auto, auto, auto); } #pageredirect .radialtimer .slice .q { border-style: solid; border-width: 15px; border-color: white; position: absolute; width: 202px; height: 200px; clip: rect(0px, 100px, 100px, 0px); z-index: 2; } #pageredirect .radialtimer .slice .pie { border-style: solid; border-width: ${redirect_border}; border-color: ${redirect_color}; position: absolute; width: 200px; height: 200px; clip: rect(0px, 100px, 200px, 0px); transition: all 1s linear; z-index: 1; } #pageredirect, #pageredirect .radialbtn a.active:hover { -webkit-box-shadow: 0 6px 15px rgba(0,0,0,0.16); -moz-box-shadow: 0 6px 15px rgba(0,0,0,0.16); -ms-box-shadow: 0 6px 15px rgba(0,0,0,0.16); -o-box-shadow: 0 6px 15px rgba(0,0,0,0.16); box-shadow: 0 6px 15px rgba(0,0,0,0.16); } #pageredirect { -webkit-border-radius: 6px; -moz-border-radius: 6px; -ms-border-radius: 6px; -o-border-radius: 6px; border-radius: 6px; } #pageredirect .radialbtn a { -webkit-border-radius: 50px; -moz-border-radius: 50px; -ms-border-radius: 50px; -o-border-radius: 50px; border-radius: 50px; } #pageredirect .radialtimer .n, #pageredirect .radialtimer .slice .q, #pageredirect .radialtimer .slice .pie { -webkit-border-radius: 100%; -moz-border-radius: 100%; -ms-border-radius: 100%; -o-border-radius: 100%; border-radius: 100%; } @media screen and (max-width:768px) { #pageredirect { width: 90%; } #pageredirect .radialads p { font-size: 1em; border-width: 4px; padding: 10px; } } `; var styleTag = document.createElement("style"); styleTag.type = "text/css"; styleTag.innerHTML = style; document.head.appendChild(styleTag); // ========= 3) اعتراض الروابط الخارجية وتخزينها في localStorage ========= $(document).ready(function() { var Loct = window.location.origin; var host = window.location.hostname; $("a").each(function() { var er = new RegExp('^(http|https):\\/\\/(?!' + host + ')'); if (this.href.match(er)) { var originalLink = $(this).attr("href"); $(this).on("click", function(e) { e.preventDefault(); localStorage.setItem("redirected_url", originalLink); window.location.href = Loct + "/p/" + page_redirect + ".html"; }); } }); $(document).bind('cut copy paste', function (e) { e.preventDefault(); }); $(document).on("contextmenu", function(e) { alert('غير مسموح بنسخ الروابط من هذا الموقع.'); e.preventDefault(); }); $(document).keydown(function(e) { if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 85 || (e.shiftKey && e.keyCode === 73))) { alert('غير مسموح بنسخ الروابط أو عرض الكود المصدري.'); return false; } }); $("a").each(function() { var href = $(this).attr("href"); var er = new RegExp('^(http|https):\\/\\/(?!' + host + ')'); if (href.match(er)) { var encryptedLink = btoa(href); $(this).attr("data-encrypted-link", encryptedLink); $(this).attr("href", "javascript:void(0);"); $(this).on("click", function(e) { e.preventDefault(); var originalLink = atob($(this).attr("data-encrypted-link")); localStorage.setItem("redirected_url", originalLink); window.location.href = Loct + "/p/" + page_redirect + ".html"; }); } }); }); // ========= 4) دالة المؤقت الدائري ========= function radialTimer() { var self = this; this.seconds = 0; this.count = 0; this.degrees = 0; this.timerHTML = "" + "