Results 1 to 3 of 3

Thread: http://www.ExitJunction.com

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,879
    Thanks
    49
    Thanked 265 Times in 257 Posts
    Blog Entries
    56

    Default http://www.ExitJunction.com

    Hello,
    The hosting site http://freei.me puts the following on each site of the pages they host, immediately before the closing html-tag.
    Code:
    </noscript>
    <div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
    <!-- Begin ExitJunction.com Code -->
     <script type="text/javascript">
     try{
     var ej10803=document.createElement("script");
     ej10803.type="text/javascript";
     ej10803.src="http://www.ExitJunction.com/script/script.jsp?val=10803&amp;sver=2";
     var ej210803=document.getElementsByTagName("body")[0];
     ej210803.insertBefore(ej10803, ej210803.firstChild);
     }catch (e10803){}
     </script>
     <!-- Copyright by ExitJunction.com -->
    </div></div>
    This makes the pages invalid, but that's no problem as long as everything works fine. My question is: what does this code really do, apart from loading http://www.ExitJunction.com and making you a rich man?
    Thanks,
    Arie Molendijk.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    My impression is that the code you posted loads the script at the SRC (on the exitjunction site). So it's just a complex way of inserting a <script> tag, probably because it's too hard to parse the html to insert it in the correct position using a serverside code, but DOM works easily.

    But the script isn't loading for me (at the moment), so I'm not sure what it does. It could be anything that JS can do...
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,879
    Thanks
    49
    Thanked 265 Times in 257 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by djr33 View Post
    ...I'm not sure what it does. It could be anything that JS can do...
    Yes, that's why it scares me a bit.
    ===
    Arie.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •