Sleazy Fork is available in English.

simpcity 去除广告

simpcity 每过一段时间点击页面都会弹出新的广告页面,移除这种恼人的特性。

  1. // ==UserScript==
  2. // @name simpcity 去除广告
  3. // @namespace http://fxxkads.xxx/
  4. // @license WTFPL
  5. // @version 2025-01-15
  6. // @description simpcity 每过一段时间点击页面都会弹出新的广告页面,移除这种恼人的特性。
  7. // @author underbed
  8. // @match https://simpcity.su/*
  9. // @match https://*.simpcity.su/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=simpcity.su
  11. // @grant GM_cookie
  12. // @run-at document-start
  13. // ==/UserScript==
  14.  
  15. (function () {
  16. "use strict";
  17.  
  18. GM_cookie.set(
  19. {
  20. name: "zone-cap-papi-hates-blocks",
  21. value: "1",
  22. path: "/",
  23. expirationDate: Math.floor(Date.now() / 1000) + 60 * 60 * 24 * 30, // Expires in 30 days
  24. },
  25. function (error) {
  26. if (error) {
  27. console.error(error);
  28. } else {
  29. console.log("Cookie set successfully.");
  30. }
  31. }
  32. );
  33. })();