GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Popunder script (https://gfy.com/showthread.php?t=1162087)

LouiseLloyd 02-28-2015 04:29 AM

Popunder script
 
Can anyone provide a reliable pounder script that works in most browsers?

:helpme

LouiseLloyd 02-28-2015 04:41 AM

One that you can declare the pop under URL outside of the script itself.

eg.
Code:

<script>var ClickPop={Public:{PopURL:"http://www.website.xyz/"}};</script>
<script src="http://wwww.mywebsite.xyz/popunder.js"></script>


Unlimited 02-28-2015 06:19 AM

bump for popunder script

zerovic 02-28-2015 06:52 AM

There you go..

change the var url = "http://www.google.com/";

to your url and, include it to your page and you are all set

Code:

function doMyStuff($) {
  $(document).ready(function(){
    var ran_yet = false;
    $("a,body,input").click(function() {
      if (ran_yet) {
        return;
      }
      ran_yet = true;
      var cookiename = 'nopopchaturbate';
      var val = getCookie(cookiename);
      if (!val) {
        val = 1;
      } else {
        val = parseInt(val);
      }
      setCookie(cookiename, val + 1, 1);     
      if (val != 1) {
        return;
      }
      var windowprops = "width=1024,height=768,location=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,top=1,left=1";
      var url = "http://www.google.com/";
      var myWin = window.open(url, "", windowprops);
      myWin.blur();
      window.focus();
    });
  });
}

function setCookie(c_name,value,exdays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}

function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0; i < ARRcookies.length; i++)
{
  x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
  y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
  x=x.replace(/^\s+|\s+$/g,"");
  if (x==c_name)
    {
    return unescape(y);
    }
  }
}


function check() {
return window.jQuery && jQuery.fn && /^1\.[3-9]/.test(jQuery.fn.jquery);
  }

if ( check() ) {

doMyStuff( jQuery );
 
} else {

var script = document.createElement('script'),
 
timer = setInterval(function(){
  if ( check() ) {
    clearInterval(timer);
      document.body.removeChild(script);
      doMyStuff( jQuery.noConflict(true) );
      }
    }, 30);
 
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js';
 
document.body.insertBefore( script, document.body.firstChild );
 
}


aka123 02-28-2015 07:21 AM

Quote:

Originally Posted by zerovic (Post 20405988)
There you go..

change the var url = "http://www.google.com/";

to your url and, include it to your page and you are all set

Code:

function doMyStuff($) {
  $(document).ready(function(){
    var ran_yet = false;
    $("a,body,input").click(function() {
      if (ran_yet) {
        return;
      }
      ran_yet = true;
      var cookiename = 'nopopchaturbate';
      var val = getCookie(cookiename);
      if (!val) {
        val = 1;
      } else {
        val = parseInt(val);
      }
      setCookie(cookiename, val + 1, 1);     
      if (val != 1) {
        return;
      }
      var windowprops = "width=1024,height=768,location=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,top=1,left=1";
      var url = "http://www.google.com/";
      var myWin = window.open(url, "", windowprops);
      myWin.blur();
      window.focus();
    });
  });
}

function setCookie(c_name,value,exdays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}

function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0; i < ARRcookies.length; i++)
{
  x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
  y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
  x=x.replace(/^\s+|\s+$/g,"");
  if (x==c_name)
    {
    return unescape(y);
    }
  }
}


function check() {
return window.jQuery && jQuery.fn && /^1\.[3-9]/.test(jQuery.fn.jquery);
  }

if ( check() ) {

doMyStuff( jQuery );
 
} else {

var script = document.createElement('script'),
 
timer = setInterval(function(){
  if ( check() ) {
    clearInterval(timer);
      document.body.removeChild(script);
      doMyStuff( jQuery.noConflict(true) );
      }
    }, 30);
 
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js';
 
document.body.insertBefore( script, document.body.firstChild );
 
}


Seems good, thanks. Just add the <script></script> tags and it works.

aka123 02-28-2015 08:14 AM

Although, that is popup, not popunder. At least for me it works as popup. How do I get it as popunder?

aka123 03-04-2015 04:21 AM

Bump. Anyone? How to make that as a popunder?

Adzvertise 03-04-2015 07:27 AM

Quote:

Originally Posted by LouiseLloyd (Post 20405922)
Can anyone provide a reliable pounder script that works in most browsers?

:helpme

If you`re still looking, I can sell you mine (works onclick pop-under). Very easy to set-up.

kjs 03-04-2015 02:19 PM

Visit any website that has pops from a good network.

View source. Find the popunder javascript, copy, change url, done.

dready 03-04-2015 03:48 PM

Torrent sites such as piratebay usually keep theirs pretty up to date.

aka123 03-04-2015 03:57 PM

I am kinda against this copy-paste anyways, and it has the problem that if it has external js-file, I am not able to reach for it.

I have legit pop-under frow AW empire, but it hasn't navigation. Visitors can't make my whitelabel as favorite (at least easily) or browse that well.

johanng 08-26-2015 07:02 AM

Quote:

Originally Posted by aka123 (Post 20410179)
I am kinda against this copy-paste anyways, and it has the problem that if it has external js-file, I am not able to reach for it.

I have legit pop-under frow AW empire, but it hasn't navigation. Visitors can't make my whitelabel as favorite (at least easily) or browse that well.

I'm also looking for one(popunder script), could you share it?


All times are GMT -7. The time now is 12:55 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123