Stylus: Local .user.css file doesn't open in Chrome 80+

Created on 14 Feb 2020  路  3Comments  路  Source: openstyles/stylus

  • Browser: Chrome 80.0.3987.106
  • Operating System: macos
  • Stylus Version: 1.5.7

After drop local file on the tab strip:
Screen Shot 2020-02-15 at 12 54 25 AM
In firefox everything works fine.

bug external

Most helpful comment

This is an intended change in new Chrome, see crbug/1049604: both the content script and the main page context aren't allowed to fetch their own file:// URL anymore. FWIW there's an internal command line switch in Chrome 81+ --enable-features=RelaxIsolatedWorldCorsInFileUrlLoaderFactory.

We'll implement a workaround.

All 3 comments

of course Allow access to file URLs enabled

  • Browser: Brave Version 1.5.91 Chromium: 80.0.3987.100 (Official Build)
  • Operating System: GNU/Linux
  • Stylus Version: 1.5.8

I have the same issue in Brave, and access to file URLs is enabled.

This is an intended change in new Chrome, see crbug/1049604: both the content script and the main page context aren't allowed to fetch their own file:// URL anymore. FWIW there's an internal command line switch in Chrome 81+ --enable-features=RelaxIsolatedWorldCorsInFileUrlLoaderFactory.

We'll implement a workaround.

Was this page helpful?
0 / 5 - 0 ratings