Meaning of some javascript I am seeing in my logs

J

Joshua Beall

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

G. Doucet

%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
 
F

Fredo Vincentis

Joshua Beall said:
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
 
R

Richard

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:

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.
 
J

Joshua Beall

Richard said:
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?
 
F

Fredo Vincentis

Joshua Beall said:
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.


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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top