I run an EC with 120 boxes. Sometimes I need to reserve a lot of boxes to me or removing the reservation, and doing so is both time consuming and annoying due to having to type in my username or copy/pasting it continually. Since the time-consuming part is typing in my name or deleting my name I decided the task would be made easier if the game would automatically put my username or nothing in for me. To do this I wrote a script that would run through all of the boxes on the page and find the first box that has a URL that matches your presentation’s URL and sets the reserve name to your username. If there isn’t a box reserved to you, it sets the initial input value for the text input boxes to “”, and you’ll have to type your name. However, after that, the script will find that box, and set all the input values for boxes not reserved to you to your username and any boxes reserved to you to blank so that when you go to change the reservation the input box that pops up will already have either your username or nothing.
Since this doesn’t automatically reserve the boxes for the player they still have to go through and click the buttons to reserve/unreserve the boxes; however, this script should alleviate some of the annoyance of reserving/unreserving a lot of boxes.
Userscripts: Reserving EC boxes Simplified
Greasy Fork: Reserving EC boxes Simplified
Since I only use the script on Firefox I cannot guarantee it will work on any browser other than Firefox, but it might.
With Owlient updating the default coats as they start working on implementing visible tack I’ve found that I’m not a fan of one of the new coats, the Friesian v4 coat. Since it’s unlikely the coat will be changed anytime soon, I’ve decided to create a GreaseMonkey script to fix this little problem for me. What the script does is determine first if the horse is actually a Friesian, and if it has a default coat. If it does, it adds an IMG tag with the V3 default coat for it’s species and age. Because Owlient hasn’t deleted the v3 coats yet the script re-uses the links from the International version of Howrse.
This can be done with any of the breeds on Howrse; however, it gets really complicated with the breeds that have more than one coat as each coat has several variants (4 adult variants, and 2 foal variants). The Friesian coats are the easiest due to only needing only 6 lines of code to swap over to one of the 6 variants. Other breeds, like the Gypsy Vanner, which has 17 different coats would require 102 lines of code to deal with all of the the variations.
In the future I might, or might not, include changing the v4 icons to the v3 icons, but that could increase the time needed to finish running the script and might prove to be unnecessary.
It can, however, be done. After some work on that part, it seems the breeding farms are loaded after all the scripts are run such that the icons in the breeding farms are immune to being changed at the moment.
The script is hosted on userscripts.org here and requires the GreaseMonkey add-on for Firefox: Friesian V.4 >> V.3 Coat Swap
Something players have wanted is a link to the Mare from the foal’s page so they can find the mare easier. To this end I started work on a new script to add that link to the foal’s page. However, after playing around with it, it seemed it would be even more useful to have the ability to go to the private page for either the sire and the dam of the foal, so I added a link to the sire as well. Then, since I was adding links to the horse’s page I thought, wouldn’t it be great if the player had easy access to the public page link from the private page, and added a link for that as well. This culminated in the following GreaseMonkey script: Add Sire/Dam/Public links
Here’s a public howrse page:
And a private howrse page:
I use Adblock Plus which blocks all the ads which is great. The issue on Howrse then becomes the 2 pixel wide border around the ad that doesn’t get blocked because it’s part of the HTML. I could use the add-on to block the element the ad is in, but that messes up how the page displays because the background on the horse’s page is positioned so the horse is slightly below the center of the background by default when the horse’s page is in reduced landscape mode. So I looked into using Greasemonkey to create a script to either move it or remove the border of the banner ad. I’ve been able to both move the banner ad and remove the border for the banner ad. Moving the banner ad requires modifying the named <div> tag (“banner”) the banner ad was displayed in to push the banner ad far enough off to the right you couldn’t see it. This does, however, put a scroll bar on the bottom of the page due to the page width being increased, but there isn’t an unsightly empty border sitting in the middle of the page anymore. Removing the banner ad’s border requires finding the div that has the border and setting the border to 0px wide. The problem I had initially in doing this was I was searching for the tag that had the code the style-sheet used when I should have been lo0king for the style the browser was using since it converted the RGB color code to hex. All in all, I call this a Win!
The script, as far as I know, only works on Firefox with the Greasemonkey add-on. It might not seem like much, but it helps to not have the white rectangle sitting there.
The script is available here: Howrse BannerAd mover
EDIT: I did manage to write a script that can remove the border entirely which negates the need to move the box the banner ad is displayed in.
That script is available here: Howrse BannerAd Border remover
Without the Greasemonkey script moving the Banner Ad or, alternately, removing the border for the banner ad:
With the Greasemonkey Script moving the Banner Ad and/or removing the border of the banner ad:
Due to the impending changes to the default horse coats I’m working on a script that changes what image is displayed for the horse based on breed and coat color or simply what url is being used for the coat.