Hide Scrollbar Force

外掛說明

This plugin removes the visible scrollbar from your website across all major browsers (Chrome, Firefox, Safari, Edge) using clean CSS techniques. It ensures that users can still scroll through the content without seeing the scrollbar, providing a modern and seamless browsing experience.

Features:
* Visually hides the vertical and horizontal scrollbars.
* Keeps smooth scrolling via mouse wheel, keyboard, and touch fully functional.
* Lightweight with zero performance overhead (pure inline CSS injection).
* Compatible with modern page builders and responsive modal popups.

安裝方式

  1. Upload the hide-scrollbar-force folder to the /wp-content/plugins/ directory, or install it directly via the WordPress Plugin Directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. The scrollbar is now hidden automatically with no configuration needed.

常見問題集

Does this plugin affect scrolling functionality?

No, it only hides the scrollbar visually. Users can still scroll smoothly using mouse wheels, trackpads, touch gestures, or keyboard arrow keys.

Will it break modal windows or internal scrollable boxes?

No, version 1.4 scopes rules strictly to the page viewport (html, body) and avoids breaking internal scrollable containers (like code blocks, tables, or modals).

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Hide Scrollbar Force〉的開發相關工作。

參與者

將〈Hide Scrollbar Force〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.4

  • Tested and confirmed compatibility with WordPress 7.1.2.
  • Added direct access security check (ABSPATH).
  • Removed universal selector conflicts to preserve modal and internal container scrolling.
  • Removed redundant closing PHP tag according to WordPress coding standards.

1.3

  • Switched to wp_enqueue_style and wp_add_inline_style for WordPress standards compliance.
  • Updated license to GPLv2 or later.

1.2

  • Improved browser compatibility with forced CSS rules.
  • Added higher priority to styles to prevent theme conflicts.

1.1

  • Added wrapper technique for better content handling.

1.0

  • Initial release.