Greasy Fork 支持简体中文。

PPAB

Pixel Place Anti Ban

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/445776/1056000/PPAB.js

  1. // ==UserScript==
  2. // @name PPAB
  3. // @description Pixel Place Anti Ban
  4. // @version 1.0.4
  5. // @author 0vC4
  6. // @namespace https://greasyfork.org/users/670183
  7. // @match https://pixelplace.io/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=pixelplace.io
  9. // @license MIT
  10. // @grant none
  11. // @run-at document-start
  12. // ==/UserScript==
  13.  
  14. Object.defineProperty(document.body, 'innerHTML', {});
  15. XMLHttpRequest.prototype._open = XMLHttpRequest.prototype.open;
  16. XMLHttpRequest.prototype.open = function(_, url){
  17. if (url.includes('post-logout.php')) throw 'lol';
  18. return this._open(...arguments);
  19. }