Closed SteveLauC closed 6 months ago
Thanks for the feedback. Chrome has restricted access to local file URLs since 118.0, see the announcement and workaround here: https://developer.chrome.com/docs/extensions/whatsnew/#changes-to-file-scheme
Thanks for the response!
Per the announcement, you need to explicitly enable this in
chrome://extensions => extension details
But I didn't find it on that page :(, please see the screenshot below:
Neither for me to find that setting. 🥲 Maybe you can change to this workaround: https://rust.extension.sh/faq/#why-local-file-rust-doc-not-work-properly-on-firefox
Get it, I don't want to spawn a server just for serving local file accesses so I think I will just use the online doc for the moment, thanks for looking into the issue!
In the post provided by the Chrome announcement I found this potential solution:
I ended up adding "optional_host_permissions": [ "file:///*" ] This way the "Allow access to file URLs" is shown, navigation works, but I don't actually get read permission.
Maybe we can give it a try?
Env
Rust:
Erroneous Behavior
Choose the entry I want to check, press enter, nothing happens
Steps to reproduce
Enable the offline mode with the following path
Open a new tab
input
rs
, the a spaceinput
Vec
, choosestd::vec::Vec
, press the enter buttonWorkaround I have tried
Demo
Screencast from 2023-10-16 12-15-17.webm