ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
5.49k stars 254 forks source link

Allow `chrome://xxx` url format #2076

Closed Aincvy closed 10 hours ago

Aincvy commented 4 days ago

Description

I want to add a widgt to open chrome bookmarks page, but homarr tells me Value is not a valid url

Priority

Low (Nice-to-have)

github-actions[bot] commented 4 days ago

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

ajnart commented 4 days ago

For now you can manually edit the configuration to remplace the URL, I think we'll remove all the url validation from homarr at some point as users should be smart enough to enter a link that works for them

manuel-rw commented 2 days ago

This should be a valid value for external URL (not for internal!)

Aincvy commented 1 day ago

I use homarr as my start page, for now there is no way to open chrome bookmarks page, I think I need it.

I have 200+ bookmarks, I don't want add all of them to homarr.

manuel-rw commented 1 day ago

Yes, I understand. But have you tired to add an app where you set chrome:// only in the external URL? The internal URL could be virtually anything with http or HTTPS

Aincvy commented 16 hours ago

The external URL field works, but when I click the app, I got a message Not allowed to load local resource: chrome://bookmarks/ in chrome dev-tools console . Is this another problem?

manuel-rw commented 10 hours ago

It's likely that this is a security feature of Chrome blocking your request, because websites should not redirect to potentially dangerous local sites (eg. where you could configure the browser). Source: https://support.google.com/chrome/thread/162698059?hl=en&msgid=162709271

I think you have two options:

Can we consider your issue here as resolved? This is now a question of your organisation / setup and no longer an issue with Homarr.

I'm happy to assist if you need further help. Cheers 🥂

Aincvy commented 10 hours ago

Closed as it already has a valid way to resolve the problem.