Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bookmarks to shortcuts #129

Open
showthesunli opened this issue Nov 2, 2024 · 3 comments
Open

add bookmarks to shortcuts #129

showthesunli opened this issue Nov 2, 2024 · 3 comments

Comments

@showthesunli
Copy link

I want add chrome://bookmarks/ in shortcuts, but it automatically adds https to the beginning of the link.

image

image

@prem-k-r
Copy link
Contributor

prem-k-r commented Nov 2, 2024

I tried to fix it by removing the automatic addition of https:// for internal pages, but when testing in Chrome, I'm getting the following error: "Not allowed to load local resource: chrome://bookmarks/."

I Googled and found out that we cannot navigate to internal pages (such as chrome://bookmarks/) directly from any Chrome extension because of security restrictions and privacy reasons. The same applies to edge://, brave://, and opera://. While direct access is not possible, there might be indirect methods to achieve similar functionality, though I'm not certain what they are.

@showthesunli
Copy link
Author

I attempted to resolve it by disabling the automatic addition of https:// for internal pages, but upon testing in Chrome, I encountered the following error: "Not allowed to load local resource: chrome://bookmarks/."

I searched online and discovered that it's not possible to directly navigate to internal pages (such as chrome://bookmarks/) from any Chrome extension due to security constraints and privacy concerns. This rule applies to edge://, brave://, and opera:// as well. Although direct access isn't feasible, there could be alternative methods to accomplish a similar outcome, but I'm unsure of what those might be.

I am not aware of Chrome's restrictions on extensions. I think this issue should be closed.

@prem-k-r
Copy link
Contributor

prem-k-r commented Nov 2, 2024

I attempted to resolve it by disabling the automatic addition of https:// for internal pages, but upon testing in Chrome, I encountered the following error: "Not allowed to load local resource: chrome://bookmarks/."
I searched online and discovered that it's not possible to directly navigate to internal pages (such as chrome://bookmarks/) from any Chrome extension due to security constraints and privacy concerns. This rule applies to edge://, brave://, and opera:// as well. Although direct access isn't feasible, there could be alternative methods to accomplish a similar outcome, but I'm unsure of what those might be.

I am not aware of Chrome's restrictions on extensions. I think this issue should be closed.

nah, leave it open, it is possible some other way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants