Install Count Faking

in Userscripts.org discussion
Subscribe to Install Count Faking 6 posts, 4 voices



psyched Scriptwright

Hi there,
I just noticed it's really simple to fake one's number of installs.
In PHP, a simple loop will do the trick:

for ($i=0;$i<500;$i++) {
  file_get_contents("somescript");
}

I don't know about this, it seems to me like an invitation to mess with it.
Maybe add a feature that reads a cookie or only allow so many installs per minute by one ip.

 
Descriptor Scriptwright

It ain't rocket science, why draw attention to it.

 
znerp Scriptwright

This has been brought up a few times, but I've just done a quick search and I can't find many posts on this, but I know Jesse somewhere spoke about maybe adding an event listener for clicks of the 'install' button or similar rather than doing it on the number of times the page is viewed. But anyhow, I agree with Descriptor's post.

 
Descriptor Scriptwright

This information is logged, you could just filter the logs. Web analysis does this by calculating the number of unique hits per day, so certainly there is a way similar to this. Still, number of installs is meaningless when you don't know when it was first uploaded or how often it's been updated. I see install counts go up on scripts that don't even work, I don't know what that means.

Also, installs may be linked to from other sites. If this is allowed (?) then those hits should count.

 
psyched Scriptwright

Yeah, I just noticed and thought I'd bring it up.
Adding an event listener sounds like a good idea in my opinion, yet this limits people with javascript turned off.
Well, let's just leave it up to Jesse, I'm sure he read this already.

 
Jesse Andrews Admin

Anything I do can be gamed eventually, but I want to add the click handler that registers that it has been installed ASAP, thanks for bringing it up again.