Blogger blog pop under....is this even possible?

2 replies
Ok, so I have this blog:

Muscle Building Fitness

I started the site a few months back when I was flat broke and now the site is starting to get a decent amount of traffic.

Yesterday I installed the following code on the blog:

HTML Code:
<!-- Auto Popunder created with Spider Webmaster Tools (http://spiderwebmastertools.com). -->
<SCRIPT LANGUAGE="JavaScript">
<!--
var cookie = "Spider Webmaster Tools";

function popup(){
if (getcookie(cookie)==""){
openpopup();
setcookie();
}
}

function openpopup() {
window.open("www.musclebuildingfitness.info","","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,status=no,width=250,height=250,left=250,top=175").blur(); window.focus();}

function getcookie(cookieName) {
var id = cookieName + "=";
var cookievalue = "";

if (document.cookie.length > 0) {
offset = document.cookie.indexOf(id);
if (offset != -1) {
cookievalue = "x";
}
}
return cookievalue;
}

function setcookie () {
document.cookie = cookie + "=" + escape ("done");
}
//-->
</SCRIPT>
I also installed the following code into my body tags:

onload="popup();"

The body tag now looks like this:

<body onload="popup();">


This is supposed to generate a pop under to my affiliate offer.

Unfortunately, there seems to be no pop under when the site is opened and I have opened the site now with three different browsers.

I'm not exactly what you'd call a pro with html so I'm not 100% sure if the pop under isn't opening because I've installed the code incorrectly or because blogger just doesn't allow pop unders on their blogs.

My guess is that blogger simply doesn't allow pop under scripts but I wanted to be sure before I gave up on the script.

I greatly appreciate any help on this issue
#blog #blogger #pop #underis
  • Profile picture of the author GB2008
    I don't immediately see a problem with your code - but I use the javascript console in Google Chrome to error check - it's very useful! Just load your page in chrome, hit CTRL + SHIFT + J to open the console and then reload the page in your browser - then the console will show errors, etc. Speeds up the debug time no end.
    Signature
    {{ DiscussionBoard.errors[637966].message }}
    • Thanks a bunch!
      Signature
      "The successful man is the one who finds out what is the matter with his business before his competitors do"
      {{ DiscussionBoard.errors[641021].message }}

Trending Topics