On 2011-01-31 5:14 PM, Zygnox wrote:
.. This one just manipulates the page that is loaded into
firefox (automatically filling out forms and submitting them etc) ..
There's a few things.
First, If you have a copy of the script, then you can analyze it, and
change your page carefully based on the information. If you don't, you
have to guess at the real contents of the scripts (and my guesses below
are of course of this variety). Either way, you change your page while
the script stays the same such that it doesn't work (properly) anymore.
You could:
* Just make the script break.
* You can even randomize IDs, names, or other key parts of your page,
such that the script will always be broken.
* Change the page very subtly such that (e.g.) form fields with the old
names are present but hidden (no human will fill them out). If someone
DOES fill them out (and not the new, real ones?) then they're probably
not human.
* Insert captchas.
* Count the number of mousemove/keyup/hover/etc events. Scripts are
likely to be efficient (or e.g. never focus fields, just set their
values), real users are sloppy.
The last option is the most insidious. You can take away points as some
sort of demerit, ban user accounts, you can silently drop their actions
(make them believe they're really playing, but not really affecting
anything). The only limit is your imagination.
Or you can take the opposite approach. Rather than punishing scripters,
reward humans. Make random (one time?) events happen like: free money
(points, whatever, I know nothing about your game) if you click this
button that's never existed before (which of course the script doesn't
know about).
As to the rest of your comments: this has nothing to do with GM, besides
that it's a particular and convenient method to automate a browser. If
you can make the whole game, hopefully you have a grasp of what is
possible with javascript. The only way that GM is special is that it is
(when used properly) completely undetectable -- EXCEPT that your scripts
have complete visibility into the page, and can detect changes.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.