Greasy Fork 支持简体中文。

Zyn Warning Removals & Topbar Adjustments

Adjusts styles on Zyn site to remove warnings that take up 20% of the view.

目前為 2024-05-15 提交的版本,檢視 最新版本

作者
sharmanhall
評價
0 0 0
版本
0.6
建立日期
2024-05-15
更新日期
2024-05-15
尺寸
2.2 KB
授權條款
MIT
腳本執行於

Zyn Warning Adjustments & Removals

This userscript adjusts the styles on the Zyn website to remove various warning elements that can interfere with the page layout and user experience.

Features

  • Forces the header to always stay at the top by setting top: 0 on .header elements within .has-warning containers.
  • Hides all elements with the class .site-warning, .zynheader-warning, and .zyn-header .zynheader-warning.
  • Uses CSS injection for immediate style application and a MutationObserver to handle dynamically added elements.

Installation

  1. Install a userscript manager like Tampermonkey or Greasemonkey in your browser.

  2. Install & enable the userscript

  3. Enjoy no browsing without the giant warning banner.