Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Apr 2016, 10:15
the one the one is offline
 
Join Date: Nov 2013
Real name: malcolm
This is awesome

When you go to http://www.abovetopsecret.com/

It say this website as been seized then after a few seconds it says April fools and take's you to the site.

Does anyone know how i would be able to do that with my forum.What coding do i need to apply.Is it in my header or the htaccess file

Last edited by the one; 01 Apr 2016 at 10:55.
Reply With Quote
  #2  
Old 01 Apr 2016, 12:50
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
It's a simple javascript.

It would be something like:

<form name="redirect">
<center>
<font face="Arial"><b>You will be redirected to the script in<br><br>
<form>
<input type="text" size="3" name="redirect2">
</form>
seconds</b></font>
</center>

<script>
<!--

//change below target URL to your own
var targetURL="http://mysite.com"
//change the second to start counting down from
var countdownfrom=10


var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}

countredirect()
//-->
</script>
Reply With Quote
  #3  
Old 01 Apr 2016, 13:05
the one the one is offline
 
Join Date: Nov 2013
Real name: malcolm
Originally Posted by ProSportsForums View Post
It's a simple javascript.

It would be something like:

<form name="redirect">
<center>
<font face="Arial"><b>You will be redirected to the script in<br><br>
<form>
<input type="text" size="3" name="redirect2">
</form>
seconds</b></font>
</center>

<script>
<!--

//change below target URL to your own
var targetURL="http://mysite.com"
//change the second to start counting down from
var countdownfrom=10


var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}

countredirect()
//-->
</script>
Many thanks for the above

my website is jandeane81.com and i would like it to show that my website as been seized by fbi law enforcement. can you help me put it correctly in the above code and where do i put this code

many thanks for your time

--------------- Added 01 Apr 2016 at 13:39 ---------------

Ok i am having a blonde moment

I did this below and will highlight what a put in bold.I then put it in my header template and all it did was show a countdown.What am i doing wrong

<form name="redirect">
<center>
<font face="Arial"><b>You will be redirected to the script in<br>http://krebsonsecurity.com/wp-conten...5/lrseized.png<br>
<form>
<input type="text" size="3" name="redirect2">
</form>
seconds</b></font>
</center>

<script>
<!--

//change below target URL to your own
var targetURL="http://jandeane81.com"
//change the second to start counting down from
var countdownfrom=10


var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}

countredirect()
//-->
</script>

Many thanks
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:01.

Layout Options | Width: Wide Color: