HPK

mesothelioma survival rates,structured settlement annuity companies,mesothelioma attorneys california,structured settlements annuities,structured settlement buyer,mesothelioma suit,mesothelioma claim,small business administration sba,structured settlement purchasers,wisconsin mesothelioma attorney,houston tx auto insurance,mesotheliama,mesothelioma lawyer virginia,seattle mesothelioma lawyer,selling my structured settlement,mesothelioma attorney illinois,selling annuity,mesothelioma trial attorney,injury lawyer houston tx,baltimore mesothelioma attorneys,mesothelioma care,mesothelioma lawyer texas,structered settlement,houston motorcycle accident lawyer,p0135 honda civic 2004,structured settlement investments,mesothelioma lawyer dallas,caraccidentlawyer,structured settlemen,houston mesothelioma attorney,structured settlement sell,new york mesothelioma law firm,cash out structured settlement,mesothelioma lawyer chicago,lawsuit mesothelioma,truck accident attorney los angeles,asbestos exposure lawyers,mesothelioma cases,emergency response plan ppt,support.peachtree.com,structured settlement quote,semi truck accident lawyers,auto accident attorney Torrance,mesothelioma lawyer asbestos cancer lawsuit,mesothelioma lawyers san diego,asbestos mesothelioma lawsuit,buying structured settlements,mesothelioma attorney assistance,tennessee mesothelioma lawyer,earthlink business internet,meso lawyer,tucson car accident attorney,accident attorney orange county,mesothelioma litigation,mesothelioma settlements amounts,mesothelioma law firms,new mexico mesothelioma lawyer,accident attorneys orange county,mesothelioma lawsuit,personal injury accident lawyer,purchase structured settlements,firm law mesothelioma,car accident lawyers los angeles,mesothelioma attorneys,structured settlement company,auto accident lawyer san francisco,mesotheolima,los angeles motorcycle accident lawyer,mesothelioma attorney florida,broward county dui lawyer,state of california car insurance,selling a structured settlement,best accident attorneys,accident attorney san bernardino,mesothelioma ct,hughes net business,california motorcycle accident lawyer,mesothelioma help,washington mesothelioma attorney,best mesothelioma lawyers,diagnosed with mesothelioma,motorcycle accident attorney chicago,structured settlement need cash now,mesothelioma settlement amounts,motorcycle accident attorney sacramento,alcohol rehab center in florida,fast cash for house,car accident lawyer michigan,maritime lawyer houston,mesothelioma personal injury lawyers,personal injury attorney ocala fl,business voice mail service,california mesothelioma attorney,offshore accident lawyer,buy structured settlements,philadelphia mesothelioma lawyer,selling structured settlement,workplace accident attorney,illinois mesothelioma lawyer

Menu Navigasi

How To Call An External Script At A Specific Time/Hour


How To Call An External Script At A Specific Time/Hour


On this occasion, I will share a trick, that is the trick of calling external scripts at specific times or who have been determined. the bottom line like this if at the current time determined then the scripts on this website will call external scripts from outside of the blog, and if time is specified then this script will be automatically disabled on its own.


How to Call an External Script At a specified time

For example:
We are setting as follows:
06.00-18.00 Script will live
19.00-05.00 Script will die/off

Or it could be a different script we call
06.00-18.00 Script 1
19.00-05.00 Script 2

For the following Way:
1. Upload your scripts on your hosting or free upload site like yourjavascript.com
2. If you already check email, and make a note of the URL
3. Enter this code into the widget:

<script type='text/javascript'> var now = new Date(); var hours = now.getHours();   if (hours >= 20 && hours <= 8){
document.write("Selamat Malam");
   }
document.write("Selamat Malam");   } else if (hours >= 9 && hours <= 19){document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops.js></scr"+"ipt>");}</script>
Replace http://yourjavascript.com/52516112701/antelops.js with the url address of your script
KET:
Blue: the span of time the Script will work (24 hours)

Only Text Code:
{document.write("Selamat Malam"); }Kode Script yang akan dipanggil{document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops.js></scr"+"ipt>");}
You could be combining this way:
(2 script)

<script type='text/javascript'> var now = new Date(); var hours = now.getHours();    if (hours >= 20 && hours <= 8){document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops1.js></scr"+"ipt>");
}
} else if (hours >= 9 && hours <= 19){document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops2.js></scr"+"ipt>");}</script> 

Or like this:
(2 script 1 text)
<script type='text/javascript'> var now = new Date(); var hours = now.getHours();    if (hours >= 20 && hours <= 8){document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops1.js></scr"+"ipt>");} else if (hours >= 9 && hours <= 15){document.write("<scr"+"ipt language=javascript src=http://yourjavascript.com/52516112701/antelops2.js></scr"+"ipt>");}else if (hours >= 15&& hours <= 19){document.write("Selamat Sore");}</script>




Keep in mind:
Note the order of the script above don't get wrong

Hopefully helpful 
Bagikan ke Facebook

Artikel Terkait