Remove these reward effects please

Removes the terrible background effects that make the messages hard to read. Contact me on reddit if there are issues or more effects are added i'll take care of these. https://www.reddit.com/user/FeelsPogChampMan

目前為 2020-06-01 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Remove these reward effects please
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Removes the terrible background effects that make the messages hard to read. Contact me on reddit if there are issues or more effects are added i'll take care of these. https://www.reddit.com/user/FeelsPogChampMan
  6. // @author Bum
  7. // @match https://www.reddit.com/*
  8. // @grant GM_addStyle
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. function GM_addStyle(css) {
  14. const style = document.getElementById("GM_addStyle") || (function() {
  15. const style = document.createElement('style');
  16. style.type = 'text/css';
  17. style.id = "GM_addStyle";
  18. document.head.appendChild(style);
  19. return style;
  20. })();
  21. const sheet = style.sheet;
  22. sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
  23. }
  24.  
  25. GM_addStyle ( `
  26. img[src*="flame"]{
  27. display:none;
  28. }
  29. ` );
  30.  
  31. GM_addStyle ( `
  32. div[aria-role="presentation"]{
  33. box-shadow:none !important;
  34. background : transparent !important;
  35. }
  36. ` );
  37. })();

QingJ © 2025

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