arabtion

كود الفتحة الاجبارية كامل

Sep 1st, 2015
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1.  
  2. <!-- بداية كود by Mido -->
  3.  
  4. <script language="JavaScript1.1">
  5. var popunder
  6. function get_cookie(Name) {
  7. var search = Name + "="
  8. var returnvalue = "";
  9. if (document.cookie.length > 0) {
  10. offset = document.cookie.indexOf(search)
  11. if (offset != -1) { // if cookie exists
  12. offset += search.length
  13. // set index of beginning of value
  14. end = document.cookie.indexOf(";", offset);
  15. // set index of end of cookie value
  16. if (end == -1)
  17. end = document.cookie.length;
  18. returnvalue=unescape(document.cookie.substring(offset, end))
  19. }
  20. }
  21. return returnvalue;
  22. }
  23. popfrequency="0 minutes"
  24. function resetcookie(){
  25. var expireDate = new Date()
  26. expireDate.setMinutes(expireDate.getMinutes()-0)
  27. document.cookie = "popunder=;path=/;expires=" + expireDate.toGMTString()
  28. }
  29. function loadornot(){
  30. if (get_cookie('popunder')==''){
  31. loadpopunder()
  32. var expireDate = new Date()
  33. expireDate.setMinutes(expireDate.getMinutes()+parseInt(popfrequency))
  34. document.cookie = "popunder="+parseInt(popfrequency)+";path=/;expires=" + expireDate.toGMTString()
  35. }
  36. }
  37. function loadpopunder(){
  38. document.write('<body onclick="rwmrgfdq_Popup()" >');
  39. }
  40. if (get_cookie('popunder')!=parseInt(popfrequency))
  41. resetcookie()
  42. loadornot()
  43.  
  44. </script> <script type="text/javascript"> <!--
  45. var opened;
  46. function rwmrgfdq_Popup()
  47. {
  48. if(opened != 1)
  49. {
  50. opened = 1;
  51. window.open("http://xat.com/bnat_online", "rwmrgfdqpop", "scrollbars = 1, resizable = 1,status = 1");
  52. }
  53. }
  54. //--> </script>
  55. <!-- نهاية كود الفتحة الاجبارية by Mido -->
Advertisement
Add Comment
Please, Sign In to add comment