51CTO不绑定微信

无需绑定微信就能看免费课

  1. // ==UserScript==
  2. // @name 51CTO不绑定微信
  3. // @namespace https://qinlili.bid
  4. // @version 0.3
  5. // @description 无需绑定微信就能看免费课
  6. // @author 琴梨梨
  7. // @match https://edu.51cto.com/course/*.html
  8. // @icon https://edu.51cto.com/favicon.ico
  9. // @grant none
  10. // @license WTFPL
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. (function(open) {
  16.  
  17. oldXML.prototype.open = function(method, url, async, user, pass) {
  18. if(url.indexOf("check-follow")>0){
  19. url= "data:application/json;base64,eyJzdGF0dXMiOiAxLCAgIm1zZyI6ICIiLCAgImRhdGEiOiB0cnVlfQ==";
  20. }
  21. open.call(this, method, url, async, user, pass);
  22. };
  23.  
  24. })(oldXML.prototype.open);
  25. })();