Announcement

Collapse
No announcement yet.

strange happenings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    strange happenings

    Hi Everyone.............I need serious help............something VERY strange has happened!!

    After updating a few pages and uploading them I'm getting an extra white band at the top of the page (about 4cm) with the following in it,

    Free JavaScripts provided
    by The JavaScript Source

    There is a link on 'The Javascript Source' and another link in the top left hand corner saying 'click here' and if you do click here you get a white full screen!!!!

    HELP! Does anyone know where this has come from and how I can get rid of it as its on loads (and I mean loads) of pages.

    Thanks in advance

    #2
    Please post the URL. This is going to be interesting.
    Bob Ladden

    Comment


      #3
      Hi Bob

      The URL is: www.funinthebedroom.com

      Good Luck

      Cheers

      Comment


        #4
        Look in Act_Primary.html for this code:
        <a href="javascriptpenFrameless()">click here</a><p><center><font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center>

        Then delete it.

        This has to be something that was added, either by a trojan horse or accidentally. That is scary.

        You also have JavaScript that was added to the top of Act_Primary.html. Delete that too.
        Bob Ladden

        Comment


          #5
          Thanks for your help...........I've deleted all the javascript in the file (and saved it) as you suggested, then done an offline preview only to find it there AGAIN!!!!



          HELP!!!!


          Comment


            #6
            Is it back in Act_Primary.html when you edit it again? What are you editing with?
            Bob Ladden

            Comment


              #7
              And now its getting really scary.....

              I exited actinic then DELETED the previewhtml directory completely and re-entered actinic. I then ran a preview web site and guess what.........it appeared again!!!

              But then I looked at act_primary and the code is still not there since I deleted it earlier so it must be coming from somewhere else..!!!

              HELP AGAIN!!!

              Comment


                #8
                Search your site1 folder for javascriptsource. In all files it is found, delete it.
                Bob Ladden

                Comment


                  #9
                  Hi Bob

                  This is what I was afraid of...........2037 files found with javascriptsource in!!!!

                  Is there no other way of getting rid of this other than editing each separate file??

                  Are these files not created when uploading a site??

                  Thanks

                  I'm off to jump off a tall building!

                  Comment


                    #10
                    Can you post your Act_Primary.html on this forum

                    Change the file extension to TXT or zip the file first
                    Owner of a broken heart

                    Comment


                      #11
                      Hi

                      This is the current act_primary after deleting the spurious code.

                      The code I deleted is as follows,

                      <!-- Original: CodeLifter.com (support@codelifter.com) -->
                      <!-- Web Site: http://www.codelifter.com -->
                      <!-- This script and many more are available free online at -->
                      <!-- The JavaScript Source!! http://javascript.internet.com -->
                      <!-- Begin
                      var windowW=214 // wide
                      var windowH=398 // high
                      var windowX = 260 // from left
                      var windowY = 100 // from top
                      var urlPop = "yourpage.html"
                      var title = "This Is A Frameless Popup Window"
                      // upon leaving the launching page; else, false
                      var autoclose = true

                      s = "width="+windowW+",height="+windowH;
                      var beIE = document.all?true:false
                      function openFrameless() {
                      if (beIE) {
                      NFW = window.open("","popFrameless","fullscreen,"+s);
                      NFW.blur();
                      window.focus();
                      NFW.resizeTo(windowW,windowH);
                      NFW.moveTo(windowX,windowY);
                      var frameString=""+
                      "<html>"+
                      "<head>"+
                      "<title>"+title+"</title>"+
                      "</head>"+
                      "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+ "<frame name='top' src='"+urlPop+"' scrolling=auto>"+ "<frame name='bottom' src='about:blank' scrolling='no'>"+ "</frameset>"+ "</html>"; NFW.document.open(); NFW.document.write(frameString); NFW.document.close(); } else { NFW = window.open(urlPop,"popFrameless","scrollbars,"+s);
                      NFW.blur();
                      window.focus();
                      NFW.resizeTo(windowW,windowH);
                      NFW.moveTo(windowX,windowY);
                      }
                      NFW.focus();
                      if (autoclose) {
                      window.onunload = function(){NFW.close();}
                      }
                      }
                      // End -->
                      </script>

                      Attached Files

                      Comment


                        #12
                        I've attached a copy of the index.html file with the code still in.

                        Is this a case of all the pages that have been generated using the 'infected' template now can't be re-generated using the 'clean' template???

                        Thanks

                        Attached Files

                        Comment


                          #13
                          You will also need to delete the code within the body tag - i.e.
                          Code:
                          <a href="javascript:openFrameless()">click here</a>
                          
                          <p><center>
                          <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by 
                          
                          <a href="http://javascriptsource.com">The JavaScript Source</a></font> 
                          
                          </center><p>
                          Ben Popplestone
                          Ecommerce website software

                          Comment


                            #14
                            Try the attached file as an Act_Primary.html
                            Attached Files
                            Owner of a broken heart

                            Comment


                              #15
                              A big thanks to all who have helped and a bigger thank to Gary.......the file you attached worked and when the site was re-built the javascript thingy wasn't there....thanks again

                              Can you tell me what you did to cure it and maybe how the **** it got there????

                              Cheers

                              Comment

                              Working...
                              X