1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.25k stars 325 forks source link

command bar isn't triggered on blank page #637

Open scfrank opened 6 years ago

scfrank commented 6 years ago

Pressing ':' doesn't result in the command bar being launched on a blank page. This is awkward when opening a new window (with only a blank page) - having hidden the address bar, I have no way of navigating to a link. Is there a solution/workaround? (I guess I could have new tabs open to a link rather than a blank page, if necessary)

Is this related to #78?

I'm using cvim on Vivaldi (1.14.1077.55) on a Mac.

BlackCapCoder commented 6 years ago

A workaround would be to not use an empty page for new windows. The problem is that about:blank is not an url, and chromium disables extensions for everything that are not urls for security reasons. Another solution would be to edit the permissions in the manifest.json file and specifically request permission for about://blank. Unfortunately I believe the second solution only works in developer mode (for security reasons), so it cannot be fixed in the version available in the chrome web store.