Notion 移除所有元素滚动条

Notion 移除表格、列表等滚动条;Removes the scroll bar for all elements on Notion

目前為 2021-12-19 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Notion 移除所有元素滚动条
// @namespace    http://tampermonkey.net/
// @version      1.0.1
// @description  Notion 移除表格、列表等滚动条;Removes the scroll bar for all elements on Notion
// @author       NellPoi
// @connect      notion.so
// @include      *://*.notion.*/*
// @icon         https://toppng.com/uploads/preview/notion-logo-11609370405b4cvyz4wit.png
// @grant        none
// @note         21-12-09 1.0.1 修改描述信息
// @note         21-12-09 1.0.0 初版发布
// ==/UserScript==

(function() {
    'use strict';
    // Your code here...
    // 默认移除所有元素的滚动条,如果你需要需要更好的性能或者自定义可以对其修改
    // The scroll bar is removed for all elements by default, and can be modified if you need better performance or customization
    let style=document.createElement('style');
    style.innerHTML="*::-webkit-scrollbar{display:none}";
    document.head.appendChild(style);
})();

QingJ © 2025

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