Howrse Menu Click Not Hover

Changes the menu to on mouse click instead of hover.

Tính đến 29-05-2014. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Howrse Menu Click Not Hover
// @namespace   hmcnh
// @include    	http://*.howrse.*/*
// @require  	http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require  	https://gist.githubusercontent.com/BrockA/2625891/raw/waitForKeyElements.js
// @version     1.0
// @author      Janiss
// @description Changes the menu to on mouse click instead of hover.
// ==/UserScript==

$("#menu a[class*='highlight']").each(function(){ $(this).attr('onclick', $(this).attr('onmouseover')); $(this).removeAttr('onmouseover'); });