Can anone tell me why this java script is poping up ?

10 replies
  • WEB DESIGN
  • |
Hi guys,

Can anyone tell me why this java script box is poping up when you close my squeeze page down ?

Heres the url to my squeeze page if you close it down you will be sent to a exit page but a javascript box pops up over the offer and I dont know how to get rid of it ?

Can someone take a look heres the url to the squeeze if you click it and then close the pop up is there ?
Amazon Epic Squeeze

thanks James
#anone #java #poping #script
  • Profile picture of the author jimkirk1943
    Does anyone know why this pop-up is showing ?

    James
    {{ DiscussionBoard.errors[9435624].message }}
  • Profile picture of the author Mark Hess
    That's an exit popup, look in the plugin settings and see if there's a way to disable the option...
    Signature
    {{ DiscussionBoard.errors[9435766].message }}
  • Profile picture of the author jimkirk1943
    Hi Mark well as you can see if you close the squeeze page down you get sent to another offer so I want the exit page to work and it was working fine till the other day when that pesky alert pop-up box started to show up I`ve no idea how or why ?
    {{ DiscussionBoard.errors[9435790].message }}
  • Profile picture of the author WillR
    The popup is asking people if they want to leave your page or see an alternate offer. You really shouldn't redirect people automatically. Not a good user experience.
    {{ DiscussionBoard.errors[9435892].message }}
  • Profile picture of the author jimkirk1943
    Yep I know its a pop-up I know what its asking but the problem is I didn`t put it there and it wasn`t there afew weeks ago I dont know why or where its come from I wouldn`t actually mind a alert pop-up but I would want different text, Its just strange
    {{ DiscussionBoard.errors[9435939].message }}
  • Profile picture of the author Paul M Smith
    If you are absolutely positive that you haven't made the change then have a closer look at your server security and logs to make sure your not a victim of a cross site script attack.
    XSS Cheat Sheet: Prevent Cross Site Scripting Attacks, Injections
    {{ DiscussionBoard.errors[9436380].message }}
    • Profile picture of the author kilgore
      Originally Posted by Paul M Smith View Post

      If you are absolutely positive that you haven't made the change then have a closer look at your server security and logs to make sure your not a victim of a cross site script attack.
      XSS Cheat Sheet: Prevent Cross Site Scripting Attacks, Injections
      That's a perfectly reasonable suggestion. But why would anyone hack into a site in order to add a popup like that? My guess is the OP copied some code to his website without knowing what he did.

      Remove this and your popup should go away:

      Code:
      function triggerSplash() {
      	//alert(noSplash);
      	if (noSplash!='true') {
      		$('.overlay').css('display','block');
      		$('.overlay').html('<iframe style="height:100%; width:100%;" src=\'http://jameskirkmarketing.com/KindleSystem/websites/squeezepage.html\'></iframe>');
      		noSplash='true';
      		return('WAIT!');
      	}
      }
      window.onbeforeunload = triggerSplash
      And like Paul said above me check your logs, etc. if you really think you've been hacked -- though I find this an unlikely outcome of an attack. The last thing most hackers want is for you to know that your systems have been compromised -- and this would just be advertising that!
      {{ DiscussionBoard.errors[9436421].message }}
  • Profile picture of the author jimkirk1943
    Hi guys,
    Thanks for the replys and Kilgor if I remove that code from the squeeze page the visitor wont be sent to the exit page ? Only last week you could close the 1st squeeze page down and you would be sent to the second page without that alert pop-up, Can you see in the code where the alert pop-up is ?

    Thanks James
    {{ DiscussionBoard.errors[9436654].message }}
  • Profile picture of the author Paul M Smith
    Kilgore is probably right, I just thought you'd exhausted all possibilities and it doesn't have to be a hacker to do this I've seen script kiddies do all sorts of stupid things when trying out their new ideas. Just thought I'd throw it out there in case. Keep looking it's there somewhere. Did you create the squeeze page yourself or is it a software based template? If so, contact the software company to see if it is a setting that needs to be different. Good Luck.
    {{ DiscussionBoard.errors[9437593].message }}
    • Profile picture of the author Juliawriter
      Originally Posted by Paul M Smith View Post

      Kilgore is probably right, I just thought you'd exhausted all possibilities and it doesn't have to be a hacker to do this I've seen script kiddies do all sorts of stupid things when trying out their new ideas. Just thought I'd throw it out there in case. Keep looking it's there somewhere. Did you create the squeeze page yourself or is it a software based template? If so, contact the software company to see if it is a setting that needs to be different. Good Luck.
      I have a horrible feeling "catchamonkey" can be set to work on remote sites. Yesterday I went to a blog as I was searching for something and when I got the pop-up I clicked not to leave and it went to a test site of someone I know. They did not put it on but I posted a query on a forum and got sent to look at the named product site (just put a .com on the end) and this is part of their sales info

      Exit Pop On 3rd Party Sites
      Utilizes iframe technology to trigger exit pops on other people's sites (will overide existing exit popups

      Hope this helps or rather hope this is not the reason. The exit pop-up looks similar to ones they use. They say it is not illegal in any way...
      {{ DiscussionBoard.errors[9438708].message }}

Trending Topics