Daggers fix

Since the developers do not want to engage in this game, you can use this script to fix the rendering of daggers in the UI

  1. // ==UserScript==
  2. // @name Daggers fix
  3. // @description Since the developers do not want to engage in this game, you can use this script to fix the rendering of daggers in the UI
  4. // @namespace https://gf.qytechs.cn/ru/users/759782-nudo
  5. // @version 1.0
  6. // @author @nudoo
  7. // @match *://sploop.io/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. const { drawImage } = CanvasRenderingContext2D.prototype
  13.  
  14. CanvasRenderingContext2D.prototype.drawImage = function(image, x, y, width, height) {
  15. if (/dagger/.test(image?.src) && (y === 5 || y > window.screen.availHeight - 100)) {
  16. this.save()
  17. this.strokeStyle = "rgba(45, 49, 49, .5)"
  18. this.lineWidth = 6
  19.  
  20. this.roundRect(x + 3, y + 3, 95, 95, 16)
  21. this.stroke()
  22. this.restore()
  23.  
  24. arguments[3] = arguments[4] = 80
  25. arguments[1] += 11
  26. arguments[2] += 11
  27. }
  28.  
  29. drawImage.apply(this, arguments)
  30. }
  31. })()

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址