Meaning of some javascript I am seeing in my logs

Discussion in 'HTML' started by Joshua Beall, Jan 2, 2004.

  1. Joshua Beall

    Joshua Beall Guest

    Hi All,

    I just noted the following page request in my logs:

    /pages/blog/focus.php?ID=15%20onmousedown="return%20clk(1,this)"

    The part that beings %20 is foreign to me. Everything before that is valid
    and common in my logs, but I do not know what the javascript portion is
    about. Can anyone enlighten me? I did a little google searching and I
    think it might be some sort of outbound link checking? For this particular
    request there was no http referer listed.

    Thanks!

    -Josh
     
    Joshua Beall, Jan 2, 2004
    #1
    1. Advertising

  2. Joshua Beall

    G. Doucet Guest

    %20 is Hex 20 which converted to decimal is character 32 which is a space.
    It is placed in a URL in the place of a space.
    I'm quite sure I've also seen the %xx used for other characters at time too!

    Also, I think from the text you included, you may be missing a quotemark or
    something.
    You may have something like
    ID="15 onmousedown...
    instead of
    ID="15" onmousedown...

    Guy



    "Joshua Beall" <> wrote in message
    news:OO3Jb.11274$...
    > Hi All,
    >
    > I just noted the following page request in my logs:
    >
    > /pages/blog/focus.php?ID=15%20onmousedown="return%20clk(1,this)"
    >
    > The part that beings %20 is foreign to me. Everything before that is

    valid
    > and common in my logs, but I do not know what the javascript portion is
    > about. Can anyone enlighten me? I did a little google searching and I
    > think it might be some sort of outbound link checking? For this

    particular
    > request there was no http referer listed.
    >
    > Thanks!
    >
    > -Josh
    >
    >
     
    G. Doucet, Jan 2, 2004
    #2
    1. Advertising

  3. "Joshua Beall" <> wrote in message
    news:OO3Jb.11274$...
    > Hi All,
    >
    > I just noted the following page request in my logs:
    >
    > /pages/blog/focus.php?ID=15%20onmousedown="return%20clk(1,this)"
    >
    > The part that beings %20 is foreign to me. Everything before that is

    valid
    > and common in my logs, but I do not know what the javascript portion is
    > about. Can anyone enlighten me? I did a little google searching and I
    > think it might be some sort of outbound link checking? For this

    particular
    > request there was no http referer listed.


    The %20 is only a different way of writing a SPACE. It is in fact an ASCI
    hexadecimal code. The % is used in the URL to ascape the code.

    So all it means is:

    pages/blog/focus.php?ID=15 onmousedown="return clk(1,this)"

    If you want to read a bit more on URL codes, have a look at this one:

    http://www.december.com/html/spec/esccodes.html
     
    Fredo Vincentis, Jan 2, 2004
    #3
  4. Joshua Beall

    Richard Guest

    Fredo Vincentis wrote:

    > "Joshua Beall" <> wrote in message
    > news:OO3Jb.11274$...
    >> Hi All,
    >>
    >> I just noted the following page request in my logs:
    >>
    >> /pages/blog/focus.php?ID=15%20onmousedown="return%20clk(1,this)"
    >>
    >> The part that beings %20 is foreign to me. Everything before that is

    > valid
    >> and common in my logs, but I do not know what the javascript portion is
    >> about. Can anyone enlighten me? I did a little google searching and I
    >> think it might be some sort of outbound link checking? For this

    > particular
    >> request there was no http referer listed.


    > The %20 is only a different way of writing a SPACE. It is in fact an ASCI
    > hexadecimal code. The % is used in the URL to ascape the code.


    > So all it means is:


    > pages/blog/focus.php?ID=15 onmousedown="return clk(1,this)"


    > If you want to read a bit more on URL codes, have a look at this one:


    > http://www.december.com/html/spec/esccodes.html


    I think he understands that. What he wants to know is, what is the other
    garbage about?
    It don't take no rocket scientist to figure out that %20 means a space.

    From what I've seen, it appears to be some sort of outbound tracking
    routine.
     
    Richard, Jan 2, 2004
    #4
  5. Joshua Beall

    Joshua Beall Guest

    "Richard" <anonymous@127.000> wrote in message
    news:...
    > I think he understands that. What he wants to know is, what is the other
    > garbage about?
    > It don't take no rocket scientist to figure out that %20 means a space.


    Yeah, I reread what I wrote, and it is not very clear, but I know what %20
    means, and I am familiar with escape codes. I just want to know exactly
    what the javascript portion is about. Sorry for the lack of clarity.

    >
    > From what I've seen, it appears to be some sort of outbound tracking
    > routine.
    >


    I was guessing something like this, I was just hoping someone could explain
    to me how it works. Anybody?
     
    Joshua Beall, Jan 2, 2004
    #5
  6. "Joshua Beall" <> wrote in message
    news:gEeJb.38714$...
    > "Richard" <anonymous@127.000> wrote in message
    > news:...
    > > I think he understands that. What he wants to know is, what is the other
    > > garbage about?
    > > It don't take no rocket scientist to figure out that %20 means a space.

    >
    > Yeah, I reread what I wrote, and it is not very clear, but I know what %20
    > means, and I am familiar with escape codes. I just want to know exactly
    > what the javascript portion is about. Sorry for the lack of clarity.
    >
    > >
    > > From what I've seen, it appears to be some sort of outbound tracking
    > > routine.
    > >

    >
    > I was guessing something like this, I was just hoping someone could

    explain
    > to me how it works. Anybody?


    Here is a nice article on the function used by Google:

    http://www.webmasterworld.com/forum3/18425.htm
     
    Fredo Vincentis, Jan 3, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gh0st54
    Replies:
    0
    Views:
    407
    gh0st54
    Jul 4, 2003
  2. darrel

    seeing if a control isValid

    darrel, Sep 3, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,161
    darrel
    Sep 7, 2004
  3. =?Utf-8?B?QmlsbCBCb3Jn?=

    Netscape not seeing background image

    =?Utf-8?B?QmlsbCBCb3Jn?=, Sep 28, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    380
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Sep 28, 2004
  4. Replies:
    1
    Views:
    352
    Mike Treseler
    Sep 22, 2007
  5. Replies:
    4
    Views:
    773
Loading...

Share This Page