The script sets a cookie indicating when it was last run; it will not history steal more than once every twenty-four hours.