Vertix Better Mouse

Changes the cursor to a high-resolution accurate cursor, and allows right-click secondary

  1. // ==UserScript==
  2. // @name Vertix Better Mouse
  3. // @namespace http://vertix.io/
  4. // @version 1.0.0
  5. // @description Changes the cursor to a high-resolution accurate cursor, and allows right-click secondary
  6. // @author dannytech
  7. // @match http://vertix.io/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. // Right click secondary
  15. $("#cvs").mousedown(function(ev){
  16. if(ev.which == 3) {
  17. playerSwapWeapon(player, 1);
  18. setTimeout(shootBullet(player), 1);
  19. playerSwapWeapon(player, 1);
  20. }
  21. });
  22. $("canvas").css("cursor","url(https://s15.postimg.org/ka093ucbf/Hunter_Vertix_Cursor.png) 17 17, default"); // Accurate cursor
  23. })();