عرض مشاركة واحدة
قديم 02-06-2019, 09:42 PM
المشاركة 6
you44
.:: عضو مشارك ::.
  • you44 غير متواجد حالياً
افتراضي رد: صفحة تحويل روابط موضوع بلوجر
استعملت هذا الكود على صفحة html
كود:
اكواد  الصفحة

=======================
<div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: center;" trbidi="on">
<style type="text/css">
a#reload {display: none;}
#arabes1 {background: #a4f9ed;padding: 14px;font-size: 35px; font-family: cursive;}
</style>
<!-- اعلانات ادسنس فوق -->

<!-- اعلانات ادسنس فوق -->
<!-- النص الاول -->

<!-- النص الاول -->
<br />
<!-- اعلانات ادسنس وسط -->

<!-- اعلانات ادسنس وسط -->
<div id="arabes1">
سيتم تحويلك الى الرابط بعد <span id="countdown"> 10 </span> ثوان 
<i class="fa fa-spinner fa-spin" style="font-size: 45px;"></i>
<a href="#" id="reload"></a>
 </div>
<br />
<!-- النص الثاني -->
<!-- النص الثاني -->
<!-- اعلانات ادسنس اسفل -->
<!-- اعلانات ادسنس اسفل -->
<!-- النص الثالث -->
<!-- النص الثالث -->
</div>
<script type="text/javascript">//<![CDATA[
//add Font Awesome
      var cb = function() {
        var l = document.createElement('link'); l.rel = 'stylesheet';
        l.href = '//maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css';
        var h = document.getElementsByTagName('head')[0]; h.parentNode.insertBefore(l, h);
      };
      var raf = requestAnimationFrame || mozRequestAnimationFrame ||
          webkitRequestAnimationFrame || msRequestAnimationFrame;
      if (raf) raf(cb);
      else window.addEventListener('load', cb);
//]]></script> 

<script type="text/javascript">
  var seconds;
  var temp;
function removem1() {
    var xkl = getQueryVariable("url");
    var nkl=xkl.replace("&m=1", "");
document.getElementById("reload").innerHTML=nkl;
}
removem1();
document.getElementById('reload').href=window.location.href;
function getQueryVariable(variable)
{
       var query = window.location.search.substring(1);
       var vars = query.split("?&&");
       for (var i=0;i<vars.length;i++) {
               var pair = vars[i].split("=_");
               if(pair[0] == variable){return pair[1];}
       }
       return(false);
}

  function countdown() {
    seconds = document.getElementById('countdown').innerHTML;
    seconds = parseInt(seconds, 10);

    if (seconds == 0) {
      temp = document.getElementById('countdown');
      parent.location.replace(document.getElementById("reload").innerHTML)
           return;
    }
    seconds--;
    temp = document.getElementById('countdown');
    temp.innerHTML = seconds;
    timeoutMyOswego = setTimeout(countdown, 1500);
  } 
setTimeout(function(){ countdown(); }, 5000);
</script>
</div>

وهذا الكود
اكود فوق /body

كود:
<script type='text/javascript'>
 //<![CDATA[
var allahref=document.getElementsByTagName("a");
for(var c=0;c<allahref.length;c++)
{
if(allahref[c].hostname!="رابـــــــــــــــــــط موقـــــــــــــــــــعك" && allahref[c].hostname!="")
if(allahref[c].hostname!="www.facebook.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="www.youtube.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="plus.google.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="www.instagram.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="twitter.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="1.bp.blogspot.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="2.bp.blogspot.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="3.bp.blogspot.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="4.bp.blogspot.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="www.blogger.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="www.linkedin.com" && allahref[c].hostname!="")
if(allahref[c].hostname!="play.google.com" && allahref[c].hostname!="")
{
allahref[c].href="رابـــــــــــــــــــــــــــــط صــــــــــــــفحة التــــــــــــــــــــحويل??&&url=_"+allahref[c].href;
}