Advertisement
jovanovski

TPB редирект

Dec 3rd, 2011
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.86 KB | None | 0 0
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  2. <title>Линк до: <?php echo $_GET['u'] ?></title>
  3. <META NAME="Description" CONTENT="Обичен редирект за да може да се објавуваат забранети линкови на Facebook и други страни со филтрирање на линкови">
  4. Редиректирам :)
  5. <script type="text/javascript">
  6. <!--
  7. var x,y,linka;
  8. y=0;
  9.  
  10.            x = window.setInterval(function() {
  11.                 if(y==0){
  12.                     y=1;
  13.                     linka='<?php echo $_GET['u'] ?>';
  14.                     if(linka!=''){
  15.                         window.location = "http://<?php echo $_GET['u'] ?>"}
  16.                     else{
  17.                         alert("Невалиден линк!");}
  18.                 }
  19.            }, 1000);
  20. //-->
  21. </script>
  22. </head><body><br />Code by: <a href="http://www.gorjan.info" target="_blank">Gorjan Jovanovski</a></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement