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

Open tabs in private mode #776

Open
Fruchtenstein opened this issue Aug 8, 2017 · 2 comments
Open

Open tabs in private mode #776

Fruchtenstein opened this issue Aug 8, 2017 · 2 comments

Comments

@Fruchtenstein
Copy link

Issue type:
  • Feature request
Version:
Vimperator:	3.16.0 (created: 2017/02/01 00:55:15)
Firefox: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Description:

I couldn't find a way to open private tabs from Vimperator. Is it possible?

Expected behavior:
  1. An option in extended hint mode to open a link in private tab.
  2. A command to open a URL in a private tab.
@arkhan
Copy link

arkhan commented Aug 9, 2017

Try:

js <<EOF
    private_tab = function(args){
        privateTab.readyToOpenTab(true);
        liberator.open(args, liberator.NEW_TAB)
        privateTab.stopToOpenTabs();
  }
EOF
noremap <silent> <C-x>h :js private_tab('about:home')<CR>

But you must have installed pribate-tab:
https://addons.mozilla.org/es/firefox/addon/private-tab/?src=api

@Fruchtenstein
Copy link
Author

Thanks for the idea. If I get it right, it opens an empty private tab, but wouldn't help in any of the two scenarios I mentioned in the original post: you still can't open a hinted link in a private tab and you can't open an arbitrary URL in a private tab.

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