99Automation

在话费直充接单页和特价专区增加一个红色按钮

  1. // ==UserScript==
  2. // @name 99Automation
  3. // @namespace undefined
  4. // @version 0.2
  5. // @description 在话费直充接单页和特价专区增加一个红色按钮
  6. // @author phoetry
  7. // @match *://99shou.cn/charge/phone/table?type=doing*
  8. // @include *://99shou.cn/charge/phone/table/tjzq*
  9. // @license GPL-3.0-only
  10. // @run-at document-end
  11. // @grant nothing
  12. // ==/UserScript==
  13.  
  14. (function(){
  15. if(jQuery){
  16. var x=$(".layui-btn.layui-btn-danger.layui-btn-sm");
  17. if(x.length>0)
  18. x.after('<button id="newx" class="layui-btn layui-btn-sm" style="margin-left:4px;background-color:#f0033a" onclick="fastReceive();setInterval(function(){fastReceive();},3333);">我要开挂</button>');
  19. }
  20. })();