SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Setting up a connection... mgyth's Avatar
    Join Date
    Nov 2004
    Location
    Mosjøen - Norway
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Got a question for somone who knows java script...

    Can anyone take a look at the source code for this site The site , and tell me roughly what all the java script in it actually does. I'm so curious and i don't know any javascript at all.
    Any replys are appreciated.
    www.gwd.no Webdesign.

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Portsmouth UK
    Posts
    1,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    42?

    if you had specific questions they can be answered

    or read some or the articals on this and other sites

  3. #3
    Setting up a connection... mgyth's Avatar
    Join Date
    Nov 2004
    Location
    Mosjøen - Norway
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, I understand.
    Let maybe if I put it this way. Is there any javascript that can be used for SEO, and if so has it been used on this site?

    And thanks for all the fish...
    www.gwd.no Webdesign.

  4. #4
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    45.37

  5. #5
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mgyth
    Is there any javascript that can be used for SEO, and if so has it been used on this site?
    Javascript is ignored and not parsed by the search engine browsers .. at least at this point in the game...... BUT if you mean to see HOW your site is doing then yes and here's how they are doing it:

    That site has a tracker (1st piece of js) this big old blob of it:

    Code:
    <script language="javascript" type="text/javascript"> 
    var data,nhp,ntz,rf,sr;document.cookie='__support_check=1';nhp='http'; 
    rf=document.referrer;sr=document.location.search; 
    if(top.document.location==document.referrer 
    || (document.referrer == '' && top.document.location != '')) 
    {rf=top.document.referrer;sr=top.document.location.search} 
    ntz=new Date();if(location.href.substr(0,6).toLowerCase()=='https:') 
    nhp='https';data='&an='+escape(navigator.appName)+ 
    '&sr='+escape(sr)+'&ck='+document.cookie.length+ 
    '&rf='+escape(rf)+ '&sl='+escape(navigator.systemLanguage)+ 
    '&av='+escape(navigator.appVersion)+ '&l='+escape(navigator.language)+ 
    '&pf='+escape(navigator.platform)+ '&pg='+escape('If skadeforsikring'); 
    if(navigator.appVersion.substring(0,1)>'3') {data=data+'&cd='+ 
    screen.colorDepth+'&rs='+escape(screen.width+ ' x '+screen.height)+ 
    '&tz='+ntz.getTimezoneOffset()+'&je='+ navigator.javaEnabled()}; 
    document.write('<img border=0 hspace=0 '+ 
    'vspace=0 width=1 height=1 src="'+nhp+'://loc1.hitsprocessor.com/'+ 
    'statistics.asp?v=1&s=3&pl=1&acct=IFtracker2'+data+'">');
    
    </script>
    This enables them to see who, when and from where their clients are coing from ......

    Besides that none of it does anything to ENHANCE their listings, if thats what you mean..

    Fish??? Am I missing something here?

  6. #6
    Setting up a connection... mgyth's Avatar
    Join Date
    Nov 2004
    Location
    Mosjøen - Norway
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So long, And thanks for all the fish. Is a book in the "Hitchhaikers guide to the galaxy" (I must have spelled that wrong).
    And was a reply to:
    Quote Originally Posted by vwphillips
    42?
    Witch is the meaning with "Life, The universe and everything".

    Thanks for yor reply it was most helpfull
    www.gwd.no Webdesign.

  7. #7
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Location
    Right behind you, watching, always watching.
    Posts
    5,431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    didnt read that one ..... so again Im clueless (like thats something new!)

    glad I could help!


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
  •