Disable Refresh on Scroll

Disables pull-to-refresh but allows overscroll glow effects.

目前為 2023-06-27 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Disable Refresh on Scroll
  3. // @description Disables pull-to-refresh but allows overscroll glow effects.
  4. // @match *://*/*
  5. // @version 1.01
  6. // @grant GM_addStyle
  7. // @namespace https://greasyfork.org/users/1113142
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. 'use strict';
  12.  
  13. GM_addStyle(`
  14. html, body {
  15. /* Disables pull-to-refresh but allows overscroll glow effects. */
  16. overscroll-behavior-y: contain;
  17. }
  18. `);
  19. })();