[Bug]: import url(); not working
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
- [x] I use the portable version of the YouTube Music Application.
- [ ] I can reproduce this issue in the official version of (WEB) YTM.
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
- Ad Blocker
- Navigation
Additional Information
No response
Can you still reproduce the issue?
@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");
Do you see CORS errors in the console or the network logs?
@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.