Advertisement
minadepaz

contadorzin

Mar 31st, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.26 KB | None | 0 0
  1. <!------inicio contador------>
  2. Perigosando: <b><script type="text/javascript" style="margin-top:-9px;font-family:'century gothic';background-color:; pink" src="http://fastonlineusers.com/on3.php?d=http://perigosando.tumblr.com/"></script></b></a>
  3. <!------final contador------></body>
  4.  
  5.  
  6.  
  7. <body><!------inicio contador------>Perigosaram: <script src="http://fastwebcounter.com/secure.php?s=http://perigosando.tumblr.com/"></script> visitantes</a></a>
  8. <!------final contador------>
  9. </body>
  10.  
  11. <body><!------inicio contador------>
  12. Você já perigosou
  13. :
  14. <SCRIPT language=JavaScript>
  15. function getCookieSlsv (offset) {
  16. var endstr = document.cookie.indexOf (";", offset);
  17. if (endstr == -1)
  18. endstr = document.cookie.length;
  19. return unescape(document.cookie.substring(offset, endstr));
  20. }
  21. function GetCookie (name) {
  22. var arg = name + "=";
  23. var alen = arg.length;
  24. var clen = document.cookie.length;
  25. var i = 0;
  26. while (i < clen) {
  27. var j = i + alen;
  28. if (document.cookie.substring(i, j) == arg)
  29. return getCookieSlsv (j);
  30. i = document.cookie.indexOf(" ", i) + 1;
  31. if (i == 0)
  32. break;
  33. }
  34. return null;
  35. }
  36. function SetCookie (name, value) {
  37. var argv = SetCookie.arguments;
  38. var argc = SetCookie.arguments.length;
  39. var expires = (argc > 2) ? argv[2] : null;
  40. var path = (argc > 3) ? argv[3] : null;
  41. var domain = (argc > 4) ? argv[4] : null;
  42. var secure = (argc > 5) ? argv[5] : false;
  43. document.cookie = name + "=" + escape (value) +
  44. ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
  45. ((path == null) ? "" : ("; path=" + path)) +
  46. ((domain == null) ? "" : ("; domain=" + domain)) +
  47. ((secure == true) ? "; secure" : "");
  48. }
  49. function DeleteCookie(name) {
  50. var exp = new Date();
  51. FixCookieDate (exp); // Correct for Mac bug
  52. exp.setTime (exp.getTime() - 1); // This cookie is history
  53. var cval = GetCookie (name);
  54. if (cval != null)
  55. document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
  56. }
  57. var expdate = new Date();
  58. var num_visits;
  59. expdate.setTime(expdate.getTime() + (365*24*60*60*1000));
  60. if (!(num_visits = GetCookie("num_visits")))
  61. num_visits = 0;
  62. num_visits++;
  63. SetCookie("num_visits",num_visits,expdate);
  64. document.writeln("<font face=verdana color=003366><B>"+num_visits+"</B></font>");
  65.  
  66. </SCRIPT> vezes!
  67. </center>  
  68. <!------final contador------>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement