flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: import url(); not working

Open Lalit64 opened this issue 11 months ago • 4 comments

Preflight Checklist

  • [x] I use the latest version of YouTube Music (Application).
  • [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • [x] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.7.1

Checklists

What operating system are you using?

macOS

Operating System Version

macOS Sequoia 15.2

What CPU architecture are you using?

arm64 (including Apple Silicon)

Last Known Working YouTube Music (Application) version

Reproduction steps

Import a css file from options -> visual tweaks -> themes that contains importing another css file from the web, see that the theme doesnt apply

Expected Behavior

the theme should apply

Actual Behavior

the theme doesn't apply

Enabled plugins

  1. Ad Blocker
  2. Navigation

Additional Information

No response

Lalit64 avatar Jan 20 '25 15:01 Lalit64

Can you still reproduce the issue?

JellyBrick avatar Feb 28 '25 14:02 JellyBrick

@JellyBrick Yeah it still doesn't want to load the css if it is loaded using @import url(""); Try this:

@import url("https://raw.githubusercontent.com/catppuccin/youtubemusic/refs/heads/main/src/mocha.css");

Lalit64 avatar Mar 01 '25 03:03 Lalit64

Do you see CORS errors in the console or the network logs?

ArjixWasTaken avatar Mar 01 '25 14:03 ArjixWasTaken

@ArjixWasTaken Nope, but there seem to be some other stuff. I don't think this has anything to do with the issue.

[YTMusic] Plugin adblocker::preload executed at 0.40ms
VM118 preload.js:66 [YTMusic] Plugin "adblocker" loaded
music_polymer_inlined_html.js:4918 LegacyDataMixin will be applied to all legacy elements.
Set `_legacyUndefinedCheck: true` on element class to enable.
www.googletagmanager.com/gtm.js?id=GTM-NQNFS9:1 
        
        
       Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
youtube-music.iife.js:47 [YTMusic] Plugin synced-lyrics::renderer executed at 19.40ms
youtube-music.iife.js:1793 [YTMusic] Plugin "synced-lyrics" loaded
youtube-music.iife.js:47 [YTMusic] Plugin navigation::renderer executed at 0.30ms
youtube-music.iife.js:1793 [YTMusic] Plugin "navigation" loaded
youtube-music.iife.js:47 [YTMusic] Plugin lyrics-genius::renderer executed at 0.10ms
youtube-music.iife.js:1793 [YTMusic] Plugin "lyrics-genius" loaded
youtube-music.iife.js:47 [YTMusic] Plugin adblocker::renderer executed at 0.00ms
youtube-music.iife.js:1793 [YTMusic] Plugin "adblocker" loaded
googleads.g.doubleclick.net/pagead/id:1 
        
        
       Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
static.doubleclick.net/instream/ad_status.js:1 
        
        
       Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.

Lalit64 avatar Mar 01 '25 16:03 Lalit64