Stop Microsoft

Miscellaneous => The Lounge => Topic started by: Gooseberry Clock on 12 June 2002, 19:17

Title: My new hit counter
Post by: Gooseberry Clock on 12 June 2002, 19:17
It would appear that Bravenet has trouble recognizing the lesser known browsers and OSes. This is why I have written my own hit counter in Perl, which I have been running for about a week now. If you click on the Which? logo below, you will see a list of the most popular browsers and OSes used by the viewers of this board, which at the moment is Windows XP and IE 6.

Thoughts?

[ July 11, 2002: Message edited by: * Red Ranger Software * ]

Title: My new hit counter
Post by: Refalm on 12 June 2002, 19:21
I guess... this thread on the Clock Crew forum (http://www.clockcrew.cc/bbs/showthread.php?s=c3c0e0759e2f882d1f0a4eb851a7d709&postid=110295#post110295) rules  (http://smile.gif)
Title: My new hit counter
Post by: Calum on 12 June 2002, 19:32
they sound like they have their arses screwed on too tight. I was going to post explaining it to them, but fuck who cares?

Goosey, if a lot of people visiting a site use winXP and internet exploder, then this means simply that a load of morons and dumb rich kids visit that site. I clicked your which link, and i must say the counter looks to me like mozilla and opera all the way. Have i misread the table? if so how and why?
Title: My new hit counter
Post by: Gooseberry Clock on 12 June 2002, 19:40
All browsers except Opera identify themselves as Mozilla for some strange reason. Check between the brackets.

[ June 12, 2002: Message edited by: Gooseberry Clock ]

Title: My new hit counter
Post by: Calum on 12 June 2002, 20:50
sounds like a big steaming pile of horseshit to me, pal, IE identifies as IE full stop, some netscapes identify as mozilla i think, some as netscape, mozilla identifies as itself, Opera can identify as IE, mozilla or Opera, but the default is IE for some moronic reason, but it appends the word Opera so you can tell if you look which one it is. So i suspect that yr counter is gash.
Title: My new hit counter
Post by: Gooseberry Clock on 12 June 2002, 21:00
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Title: My new hit counter
Post by: Calum on 12 June 2002, 22:27
yes thanks for that, i can read you know, but what i'm saying (and what you miss completely) is that if everything identifies as mozilla, except opera, then you have fucked up when you wrote the counter.

I don't know a thing about Perl or about how a browser identifies but even i can see that!
Title: My new hit counter
Post by: Master of Reality on 13 June 2002, 00:02
konqueror can also identify itself as using any OS (including all versions of windows) and any Browser.
Title: My new hit counter
Post by: Master of Reality on 13 June 2002, 06:29
I wonder what it would identify the staroffice browser as..... Probably Mozilla, just like everything else. It seems that Mozilla must be the most popular browser; Nah... Its just that he is full of shit and his damn thing doesnt work.
Title: My new hit counter
Post by: Kintaro on 13 June 2002, 19:11
Yes that is sad....   did you see the hits with that
XChaos browser.... thats me in arachne.
And a Win16 hit is there too. (Also me in Win31 with Netscape 3)
Title: My new hit counter
Post by: Master of Reality on 14 June 2002, 00:27
that must have been you at www.bobhub.cjb.net (http://www.bobhub.cjb.net) using the netscape 3 browser.
Title: My new hit counter
Post by: preacher on 14 June 2002, 00:38
quote:
Originally posted by Gooseberry Clock:
All browsers except Opera identify themselves as Mozilla for some strange reason. Check between the brackets.

[ June 12, 2002: Message edited by: Gooseberry Clock ]




Well my Konquerer identifies like this:
**.**.*.*** - - [13/Jun/2002:13:58:44 -0400] "GET / HTTP/1.1" 304 - "-" "-"

Links identifies like this:
**.**.*.*** - - [13/Jun/2002:14:21:33 -0400] "GET / HTTP/1.1" 200 6369 "-" "Links (0.97pre3; Linux 2.4.18-6mdk i686)"

Lynx identifies like this:
**.**.*.*** - - [13/Jun/2002:14:21:48 -0400] "GET / HTTP/1.0" 200 6369 "-" "Lynx/2.8.5dev.3 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6c"

So as you can see not all browsers identify as Mozilla.
Title: My new hit counter
Post by: voidmain on 14 June 2002, 01:23
I have my Konqueror set to identify like this:

Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)

However, you can set it to whatever you want easily, and there are also 17 presets on the "Tools->Browser Identification" menu that you can pick from.
Title: My new hit counter
Post by: Master of Reality on 14 June 2002, 01:47
when i use konqueror i have it set not to identify itself ad anything... I like not to be categorized.
Title: My new hit counter
Post by: Gooseberry Clock on 27 June 2002, 01:04
1000 addresses now listed. Let's see which browser & OS are the most popular:

http://rrs.home9.dk3.com/cgi-bin/list.cgi (http://rrs.home9.dk3.com/cgi-bin/list.cgi)

This doesn't take a genius. And the rest of you, please upgrade your software to the latest version.
Title: My new hit counter
Post by: Calum on 27 June 2002, 01:22
yeah, dumbass, it doesn't take a genius to see that YOUR POXY COUNTER SHOWS EVERYBODY SUPPOSEDLY USES MOZILLA, AND YOU CAN'T WRITE A HIT COUNTER FOR SHIT!!!

Sorry, but i am not convinced when you can't even get them not to register as mozilla.

And upgrade your brain.
Title: My new hit counter
Post by: Kintaro on 2 July 2002, 21:48
Looks quite simple to me:
 
quote:

#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);CORE: (http://redface.gif) pen(FILE,"hits.txt");@hits=<FILE>;CORE::close(FILE);$i=0;foreach$curentry(@hits){($!,$agent[$i])=split(/\|/,$curentry);$i++}for($i=0;$i<@agent;$i++){$agent{$agent[$i]}++}$i=0;while(($key,$val)=each(%agent )){$newagent[$i]=[$key,$val];$i++}@newagent=sort{if($a->[1]eq$b->[1]){return$a->
  • cmp$b->
  • }else{return$b->[1]<=>$a->[1]}}@newagent;print"Content-type: text/html\n\n<table BORDER=1>";for($i=0;$i<@newagent;$i++){if($newagent[$i]->
  • =~/\S+/){print"<tr><td>$newagent[$i]->
  • </td><td ALIGN=RIGHT>$newagent[$i]->[1]</td><td><img SRC=http://www.yabbforum.com/YaBBImages/bar.gif WIDTH=$newagent[$i]->[1] HEIGHT=15></td></tr>"}}print"</table>"



The source for gooseberrys tracker
Title: My new hit counter
Post by: Kintaro on 4 July 2002, 07:45
What are you going too do about your broken tracker goosey??????????
Title: My new hit counter
Post by: Master of Reality on 4 July 2002, 21:02
My hit counter from sitemeter only shows IE or Netscape... All non-IE are considered netscape for some reason.... but here is the chart:
(the newest Mozilla is considered Netscape 5.X)
(http://sm7.sitemeter.com/rpc/server.asp?a=GetChart&n=9&p1=sm7bobhub&p2=%5C%5CWV%5DL&p3=13&p4=0&p5=204%2E92%2E81%2E125&p6=HTML&p7=1&p8=default%2Easp%3Faction%3Dstatistics&p9=false&rnd=28371)

[ July 04, 2002: Message edited by: Master of Reality / Bob ]

Title: My new hit counter
Post by: pkd_lives on 4 July 2002, 10:56
Keep it up, maybe you can record the decrease in use of IE over time. Come see how fast people are switching.
Title: My new hit counter
Post by: sporkme on 4 July 2002, 15:04
man, it has been a long time since i ran into someone as stupid, worthless, and annoying as you, goose.

if you knew what the fuck you were talking about twice as much as you already do you would still sound as fucking stupid.

furthermore, yor mother is terrible in bed.

be a team player, and kindly shut the hell up.

oh, and your signature sure looks funny in internet exploiter, a whole line of [X]X][X][X][X][X][X]'s thanks to my new router.

(exploder explanation:  i broke it, ISOS downloading now, gotta dual-boot for mechwarrior  :mad:  )