View Full Version : RESOLVED: Timeout on noscript-Image
wibros
12-04-2007, 09:45 AM
A customer claimed about missing features yesterday and as I looked into it right now, i figured out that my AJAX is not working, as it relies on onload which is prevented by the Statcounter noscript-Image:
https://c.statcounter.com/3221545/0/e8945cf4/0/
When you wait long enough for the timeout to occur, the AJAX works just fine. So I had to remove the Statcounter-code as this is obviously alpha, not beta.
Matt
P.S.: What the heck do I have to register a new account here and can't login with my regular Statcounter login?
webado
12-04-2007, 12:56 PM
Anything in the noscript tag is only loaded if the user has javascript disabled. In such a case Ajax obviously would also not work.
So your Ajax stuff not working has nothing to do with Statcounter's noscript image tag loading or not - they would never happen in the same circumstances.
And FYI anything beta means you don't use it in a production environment unless you are willing to put up with possible disruptions.
wibros
12-04-2007, 01:39 PM
You're right with that noscript-image, however, Safari displayed c.statcounter.com only on the Activity Window and the only occurence I ran accross in the code has been the noscript-image.
I had a closer look and the problem indeed is https://c.statcounter.com/t.php. It times out when it is a https-request, it works fine when it is http.
And beta means working, but may have bugs. And that's what it does not when it comes to https: Working.
webado
12-04-2007, 02:35 PM
Well that same php script is called through an img tag from inside the Statcounter js script that does the logging.
Doubtful there's any actual https version available yet for the beta tracker.
wibros
12-10-2007, 07:01 AM
I didn't do any changes to the code provided, just copy&paste.
SC 4 Beta seems to detect on it's own wether it is on HTTPS or not. That's good news. However, the HTTPS-Request should work then, too!
webado
12-10-2007, 01:56 PM
Well it would only work if it indeed were on the secure server. As it is the beta tracker is not on a secure server - remember, it's beta, it's for testing purposes, not suitable for a production site.
Tamas Kalman
12-14-2007, 03:33 PM
Hey,
we've added HTTPS support today to SCv4 so you can use this version as well - https://c.statcounter.com... will work well!
regards,
Tamas Kalman
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.