Selects shield
// ==UserScript== // @name Neopets PetpetBattle Shield // @namespace Jarofgrease.captainmaxthecat.com // @description Selects shield // @author Demeiz // @email [email protected] // @homepage http://www.captainmaxthecat.com // @version 1 // @language en // @include http://www.neopets.com/games/petpet_battle/*// @grant none // ==/UserScript== (function() { buttons = document.evaluate("//input[@value='Shield']", document, null,7, null); buttonclick = buttons.snapshotItem(0); buttonclick.click(); })();