Zyn Warning Removals & Topbar Adjustments

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

Δημιουργός
sharmanhall
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
1
Βαθμολογίες
0 0 0
Έκδοση
0.6
Δημιουργήθηκε την
15/05/2024
Ενημερώθηκε την
15/05/2024
Άδεια
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.

Changelog

Version 0.6

  • Added @downloadURL and @updateURL to script header.

Version 0.5

  • Added support for hiding .zyn-header .zynheader-warning elements.

Version 0.4

  • Added support for hiding .zynheader-warning elements.

Version 0.3

  • Improved performance by injecting CSS at document-start.

Version 0.2

  • Added MutationObserver to handle dynamically added elements.

Version 0.1

  • Initial release with basic functionality.