Ironically this would be pretty easy to train an AI to do with Greasemonkey