Dinesh's Intercepting Ajax

An example Greasemonkey script that intercepts every ajax call.

当前为 2015-10-01 提交的版本,查看 最新版本

  1. // ==UserScript==
  2.  
  3. // @name Dinesh's Intercepting Ajax
  4.  
  5. // @namespace http://www.webmonkey.com
  6.  
  7. // @description An example Greasemonkey script that intercepts every ajax call.
  8.  
  9. // @include *
  10.  
  11. // @version 0.0.1.20151001051228
  12. // ==/UserScript==
  13. unsafeWindow.$('body').ajaxSuccess (
  14. function (event, requestData)
  15. {
  16. alert("Dinesh");
  17. console.log (requestData.responseText);
  18. }
  19. );

QingJ © 2025

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