Guest User

Untitled

a guest
May 19th, 2016
1,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. jQuery(document).ready(function ($) {
  2. var display = parseInt(jQuery.cookie('noAdblockNiceMessage'), 10);
  3. if (isNaN(display)) {
  4. if (typeof mgCanLoad30547 == 'undefined') {
  5. jQuery('body').prepend('<div id="niceMessage" class="niceMessage"><div class="inner"><div class="textxx"><p><strong>' + niceMessageSetup.text[0].title + '</strong></p><p>' + niceMessageSetup.text[0].message + '</p><a onclick="jQuery(\'#niceMessage\').hide(); jQuery.cookie( \'noAdblockNiceMessage\', 1, { expires: 1, path: \'/\' } );" class="close" title="Cerrar"></a></div></div></div>');
  6. }
  7. }
  8. });
Advertisement
Add Comment
Please, Sign In to add comment