CursorsIO custom cursor (another hack if jpeg file is empty soo...)

A CursorsIO custom cursor extenstion (another hack if jpeg file is empty soo...)

目前为 2020-06-25 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CursorsIO custom cursor (another hack if jpeg file is empty soo...)
  3. // @namespace lotus
  4. // @version 0.1
  5. // @description A CursorsIO custom cursor extenstion (another hack if jpeg file is empty soo...)
  6. // @author lotus
  7. // @match http://cursors.io/
  8. // @grant none
  9. // @run-at document-idle
  10. // ==/UserScript==
  11.  
  12. var re = '''
  13. var customcursor = prompt("Path to cursor on device (Must be 128x128, jpeg , jpg, or cur", "file:///C:/Users/username/Downloads/");
  14. document.write('<style>cursor:url('
  15. + re + customcursor + re +
  16. ');</style>');