How to automatically generate redirect/redirect URL link with Java Script/HTML Countdown. How to redirect a website or blog page to another page.
Welcome, based on a request, we will discuss one of the ways to convert a website URL/link to your desired page.
Well, link redirection can be done using javascript, you can modify it as you wish.
This add-on is known to increase the profits of Adsense or any other advertising company, even slightly, by allocating a set of specific links for the blog, such as topic links, social networking page links and other pages that you want to exclude from conversion and are not limited to ads. Thing!
Note: This is the first version of the script, which is Safe Link There is another version that I will provide to you in the coming days, God willing
Explain how to install
1. Create a new page through Pages > New Page
2. Put a title for the page, preferably in English, for example Redirect
3. Go to HTML mode, then choose the shape and paste it
* Deselect the comments from the settings
2. Change the count= 10 to the number of seconds you want (keep it less than 20 seconds)
3. Change the writing specified in blue
Welcome, based on a request, we will discuss one of the ways to convert a website URL/link to your desired page.
Well, link redirection can be done using javascript, you can modify it as you wish.
This add-on is known to increase the profits of Adsense or any other advertising company, even slightly, by allocating a set of specific links for the blog, such as topic links, social networking page links and other pages that you want to exclude from conversion and are not limited to ads. Thing!
Note: This is the first version of the script, which is Safe Link There is another version that I will provide to you in the coming days, God willing
1. Create a new page through Pages > New Page
2. Put a title for the page, preferably in English, for example Redirect
3. Go to HTML mode, then choose the shape and paste it
* Deselect the comments from the settings
<script>
var url = "https://miusm-tech.blogspot.com/"; // Website link
var count = 10; // number of seconds
function countDown() {
if (count > 0) {
count--;
var waktu = count + 1;
$('#Kata').html('<b>This page will automatically redirect to </b> ' + url + ' dalam ' + waktu + ' detik.');
setTimeout("countDown()", 1000);
} else {
window.location.href = url;
}
}
countDown();
</script>
<style>
#comments,#side-bar{display: none;} .col-lg-8 { width: 100%; }
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%!important;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite; /* Safari */
animation: spin 2s linear infinite;
margin:20px 0;
}
/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.cnt-right { float: right; width: 50%;padding: 10px; } .cnt-left { float: left; width: 50%; padding: 10px; }
#content1{position:relative;margin-bottom: 30px;color:rgba(0,0,0,0.15); background: #f1e791;font-weight:700;overflow:hidden;width:100%;height:90px} #content1 .button{margin:0;position:absolute;left:5%;top:29%;list-style:none} #content1 .button a.download{display:inline-block;background:#d63031;color:#fff;font-size:14px;font-weight:400;padding:8px 16px;border-radius:3px} #content1 .button a.download:hover{background:#222;color:#fff} #content1 .visible{position: absolute; right: 3px; color: rgba(0,0,0,0.1); font-size: 4rem; line-height: 2.4;} @media screen and (max-width:768px){ #content1 .button{left:20px;right:20px} #content1 .button a.download{display:block} #content1 .visible{display:none}}
</style>
<center>
<div id="content1"> <div style="text-align: center;"> <ul class="button"> <li><a class="download" href="#" rel="nofollow noopener" target="_blank">تحميل</a></li> </ul> </div> <div class="visible"> <p> Ads 1100x90 </p> </div> </div>
<b>Please disable the ad blocker and enable JavaScript to access this page... If you are using Firefox or Opera Mini, change it to your default browser, because this browser disables JavaScript functionality..</b>
<br />
<center style="color: red; padding:10px">
If you are not redirected to the page, press <a href="https://miusm-tech.blogspot.com/"><b>هنا</b></a>
<br />
<div class="loader">
</div>
</center>
<div class="cnt-right">
<h2>What is Lorem Epsom?</h2>
<p dir="rtl">(Lorem Ipsum) It is simply a formal text (meaning that the purpose is form, not content) and is used in the printing and publishing industries. Lorem Ipsum has been the standard for formal text since the fifteenth century when an unknown printing press randomly stacked a set of characters from a text, to form a pamphlet as a guide or formal reference for these characters. Five centuries of time did not eliminate this text, but it even became used in its original form in printing and electronic typesetting. It spread widely in the sixties of this century with the release of “Letraset” plastic chips containing excerpts from this text, and it has resurfaced again recently with the emergence of electronic publishing programs such as Aldus PageMaker, which also contained copies of text Lorem Ipsum.
</p>
</div>
<div class="cnt-left">
<h2>What is the benefit?</h2>
<p dir="ltr">There is a proven fact from a long time ago that the readable content of a page will distract the reader from focusing on the external form of the text or the form of paragraphs placed on the page he reads. Therefore, the Lorem Ipsum method is used because it gives a natural distribution - to some extent - to the characters instead of using "here there is text content, here there is text content", making it look (that is, the letters) as if it were readable text. Many desktop publishing and web page editing programs use Lorem Ipsum by default as a sample text, and if you enter "lorem ipsum" into any search engine, many new sites will appear in the search results. Over the years, new and different versions of Lorem Ipsum's text have appeared, sometimes by accident, sometimes deliberately as some humorous phrases have been inserted into it.
</p>
</div>
</center>
<script>
var url = "https://miusm-tech.blogspot.com/"; // Website link
var count = 10; // number of seconds
function countDown() {
if (count > 0) {
count--;
var waktu = count + 1;
$('#Kata').html('<b>This page will automatically redirect to </b> ' + url + ' dalam ' + waktu + ' detik.');
setTimeout("countDown()", 1000);
} else {
window.location.href = url;
}
}
countDown();
</script>
<style>
#comments,#side-bar{display: none;} .col-lg-8 { width: 100%; }
nsform: rotate(360deg); }
}
.cnt-right { float: right; width: 50%; }
.cnt-right { float: right; width: 50%;padding: 10px; } .cnt-left { float: left; width: 50%; padding: 10px; }
#content1{position:relative;margin-bottom: 30px;color:rgba(0,0,0,0.15); background: #f1e791;font-weight:700;overflow:hidden;width:100%;height:90px} #content1 .button{margin:0;position:absolute;left:5%;top:29%;list-style:none} #content1 .button a.download{display:inline-block;background:#d63031;color:#fff;font-size:14px;font-weight:400;padding:8px 16px;border-radius:3px} #content1 .button a.download:hover{background:#222;color:#fff} #content1 .visible{position: absolute; right: 3px; color: rgba(0,0,0,0.1); font-size: 4rem; line-height: 2.4;} @media screen and (max-width:768px){ #content1 .button{left:20px;right:20px} #content1 .button a.download{display:block} #content1 .visible{display:none}}
#fountainG{position:relative;width:234px;height:28px;margin:auto;}.fountainG{position:absolute;top:0;background-color:rgb(0,0,0);width:28px;height:28px;animation-name:bounce_fountainG;-o-animation-name:bounce_fountainG;-ms-animation-name:bounce_fountainG;-webkit-animation-name:bounce_fountainG;-moz-animation-name:bounce_fountainG;animation-duration:1.5s;-o-animation-duration:1.5s;-ms-animation-duration:1.5s;-webkit-animation-duration:1.5s;-moz-animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-direction:normal;-o-animation-direction:normal;-ms-animation-direction:normal;-webkit-animation-direction:normal;-moz-animation-direction:normal;transform:scale(.3);-o-transform:scale(.3);-ms-transform:scale(.3);-webkit-transform:scale(.3);-moz-transform:scale(.3);border-radius:19px!important;-o-border-radius:19px!important;-ms-border-radius:19px;-webkit-border-radius:19px;-moz-border-radius:19px;}#fountainG_1{left:0;animation-delay:0.6s;-o-animation-delay:0.6s;-ms-animation-delay:0.6s;-webkit-animation-delay:0.6s;-moz-animation-delay:0.6s;}#fountainG_2{left:29px;animation-delay:0.75s;-o-animation-delay:0.75s;-ms-animation-delay:0.75s;-webkit-animation-delay:0.75s;-moz-animation-delay:0.75s;}#fountainG_3{left:58px;animation-delay:0.9s;-o-animation-delay:0.9s;-ms-animation-delay:0.9s;-webkit-animation-delay:0.9s;-moz-animation-delay:0.9s;}#fountainG_4{left:88px;animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s;}#fountainG_5{left:117px;animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s;}#fountainG_6{left:146px;animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s;}#fountainG_7{left:175px;animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s;}#fountainG_8{left:205px;animation-delay:1.64s;-o-animation-delay:1.64s;-ms-animation-delay:1.64s;-webkit-animation-delay:1.64s;-moz-animation-delay:1.64s;}@keyframes bounce_fountainG{0%{transform:scale(1);background-color:rgba(33,98,196,0.98);}100%{transform:scale(.3);background-color:rgb(92,90,92);}}@-o-keyframes bounce_fountainG{0%{-o-transform:scale(1);background-color:rgba(33,98,196,0.98);}100%{-o-transform:scale(.3);background-color:rgb(92,90,92);}}@-ms-keyframes bounce_fountainG{0%{-ms-transform:scale(1);background-color:rgba(33,98,196,0.98);}100%{-ms-transform:scale(.3);background-color:rgb(92,90,92);}}@-webkit-keyframes bounce_fountainG{0%{-webkit-transform:scale(1);background-color:rgba(33,98,196,0.98);}100%{-webkit-transform:scale(.3);background-color:rgb(92,90,92);}}@-moz-keyframes bounce_fountainG{0%{-moz-transform:scale(1);background-color:rgba(33,98,196,0.98);}100%{-moz-transform:scale(.3);background-color:rgb(92,90,92);}}
</style>
<center>
<div id="content1"> <div style="text-align: center;"> <ul class="button"> <li><a class="download" href="#" rel="nofollow noopener" target="_blank">Download</a></li> </ul> </div> <div class="visible"> <p> Ads 1100x90 </p> </div> </div>
<b>Please disable your ad blocker and enable JavaScript to access this page... If you are using Firefox or Opera Mini, change it to your default browser, as this browser disables JavaScript functionality.</b>
<br />
<center style="color: red; padding:10px">
If you are not redirected to the page, press <a href="https://miusm-tech.blogspot.com/"><b>هنا</b></a>
<br />
<div id="fountainG">
<div class="fountainG" id="fountainG_1">
</div>
<div class="fountainG" id="fountainG_2">
</div>
<div class="fountainG" id="fountainG_3">
</div>
<div class="fountainG" id="fountainG_4">
</div>
<div class="fountainG" id="fountainG_5">
</div>
<div class="fountainG" id="fountainG_6">
</div>
<div class="fountainG" id="fountainG_7">
</div>
<div class="fountainG" id="fountainG_8">
</div>
</div>
</center>
<div class="cnt-right">
<h2>what is Lorem Epsom?</h2>
<p dir="rtl">(Lorem Ipsum) It is simply a formal text (meaning that the purpose is form, not content) and is used in the printing and publishing industries. Lorem Ipsum has been the standard for formal text since the fifteenth century when an unknown printing press randomly stacked a set of characters from a text, to form a pamphlet as a guide or formal reference for these characters. Five centuries of time did not eliminate this text, but it even became used in its original form in printing and electronic typesetting. It spread widely in the sixties of this century with the release of “Letraset” plastic chips containing excerpts from this text, and it has resurfaced again recently with the emergence of electronic publishing programs such as Aldus PageMaker, which also contained copies of text Lorem Ipsum.
</p>
</div>
<div class="cnt-left">
<h2>ما فائدته ؟</h2>
<p dir="ltr">There is a proven fact from a long time ago that the readable content of a page will distract the reader from focusing on the external form of the text or the form of paragraphs placed on the page he reads. Therefore, the Lorem Ipsum method is used because it gives a natural distribution - to some extent - to the characters instead of using "here there is text content, here there is text content", making it look (that is, the letters) as if it were readable text. Many desktop publishing and web page editing programs use Lorem Ipsum by default as a sample text, and if you enter "lorem ipsum" into any search engine, many new sites will appear in the search results. Over the years, new and different versions of Lorem Ipsum's text have appeared, sometimes by accident, sometimes deliberately as some humorous phrases have been inserted into it.
</p>
</div>
</center>
Required changes
1. Change the two links miusm-tech.blogspot.com on the page you want to go to2. Change the count= 10 to the number of seconds you want (keep it less than 20 seconds)
3. Change the writing specified in blue
Here we come to the end of the post, your inquiries are welcome. If you do not like the way the extension works, then you should wait for the next version 😉 Greetings