Guest User

Untitled

a guest
Feb 2nd, 2016
1,576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (!window.slurppy) {
  2.   window.slurppy = function () {
  3.     if (!$.cookie('m4e_s')) {
  4.       $.cookie('m4e_s', 1, {
  5.         expires : 1,
  6.         path : '/',
  7.         domain : '.mac4ever.com'
  8.       });
  9.     } else {
  10.       var spl = parseInt($.cookie('m4e_s')) + 1;
  11.       if (spl <= 3) {
  12.         $.cookie('m4e_s', spl, {
  13.           expires : 1,
  14.           path : '/',
  15.           domain : '.mac4ever.com'
  16.         });
  17.       } else if (spl < 90) {
  18.         coquinou();
  19.         $.cookie('m4e_s', 98, {
  20.           expires : 1,
  21.           path : '/',
  22.           domain : '.mac4ever.com'
  23.         });
  24.       }
  25.     }
  26.   }
  27. }
  28. if (!window.coquinou) {
  29.   window.coquinou = function () {
  30.     $.modal('<div style="width:980px; height: 722px; background: url(//www.mac4ever.com/interface/site/island.jpg) 0 0 no-repeat; border-radius:15px;">' + '<a class="closeIsland" href="javascript:$.modal.close();" style="display: block; width: 95px; height: 40px;float:right;margin: 17px 13px 0 0;"></a>' + '<a href="//www.mac4ever.com/vip" style="display: block; width: 286px; height: 75px; float: left;margin: 632px 0 0 158px;"></a>' + '<a href="//www.mac4ever.com/dossiers/103054_comment-desactiver-adblock-et-les-bloqueurs-de-publicite-sur-mac4ever-et-ailleurs" style="display: block; width: 286px; height: 75px; float: left;margin: 632px 0 0 95px;"></a>' + '</div>', {
  31.       onOpen : function (dialog) {
  32.         dialog.overlay.fadeIn('fast', function () {
  33.           dialog.container.show();
  34.           dialog.data.fadeIn('slow');
  35.         });
  36.       },
  37.       close : false,
  38.       position : ['10%'],
  39.       opacity : 85,
  40.       overlayCss : {
  41.         backgroundColor : "#000"
  42.       },
  43.     });
  44.   }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment