zen icon indicating copy to clipboard operation
zen copied to clipboard

Failed to apply rule DOMException

Open BUTTER-BEAR opened this issue 2 months ago • 0 comments

Description

Zen spams the console of some sites like youtube and reddit with a bunch of the same two errors: Zen/extended-css/engine: Failed to apply rule DOMException: Element.querySelectorAll: 'body[class^="has-brand"][class*=" active-brand"][class*="fixed-header"]:style(padding-top: 0 !important; background-color: inherit !important)' is not a valid selector and Zen/extended-css/engine: Failed to apply rule DOMException: Element.querySelectorAll: 'body[class^="has-brand"][class*=" active-brand"][class*="fixed-header"]>[id$="er"]:nth-child(-n+3):style(width: unset !important)' is not a valid selector

Youtube has it much worse as its logged for each mouse over of a thumbnail. video for reference (youtube link as github failed to upload mp4)

Version

v0.15.1

Operating System

Windows 10

Steps to Reproduce

  1. Launch and Start Zen
  2. Go to YouTube.com and open the console via your browsers hotkey or via inspect and navigating to the console, Reload.
  3. Observe the log spam(even more so when mousing over videos)

Additional Context

I havent seen any side-effects to this, Nor do i know if this is an "issue" or just a way things like this would work, but i felt i should report this.

BUTTER-BEAR avatar Oct 30 '25 22:10 BUTTER-BEAR