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

Private Tab stills appear on a private browsing window and breaks it when used #209

Closed
sylveon opened this issue Jan 30, 2016 · 5 comments
Closed

Comments

@sylveon
Copy link
Contributor

sylveon commented Jan 30, 2016

The normal "Open in a new tab" isn't here, only Private Tab's is here, so I can't open link in a new tab if this isn't the web page's normal behavior.
Plus, what's the point of a private tab in a private window? Fully preventing the addon from firing up in the startup code when a window is private will prevent any conflict and issue with private browsing mode.

Video

@sylveon
Copy link
Contributor Author

sylveon commented Feb 5, 2016

Also, the same broken behavior happens when I right-click a link and then open it in a new tab when i'm currently in a private tab.

@Infocatcher
Copy link
Owner

Looks like broken behavior appears due to #208... And broken not only in private window.

It's possible to create a normal tab in private window (using "Private Tab" checkbox in tab context menu or using drag-and-drop from another window).
Also private flag for window can be changed on the fly...

Also you can tweak appearance using styles:
https://github.com/Infocatcher/Private_Tab#styles
To hide "File - New Private Tab" and "New Private Tab" button:

#main-window[privateTab-isPrivate] #privateTab-menu-openNewPrivateTab,
#main-window[privateTab-isPrivate] #privateTab-afterTabs-openNewPrivateTab,
#main-window[privateTab-isPrivate] #privateTab-toolbar-openNewPrivateTab {
    display: none !important;
}

@sylveon
Copy link
Contributor Author

sylveon commented Feb 9, 2016

That styles works, but doesn't hides the "Private Tab" toggle in context for a tab, and there's still a blank tab when I right-click and press "Open in a new private tab".

@Infocatcher
Copy link
Owner

but doesn't hides the "Private Tab" toggle in context for a tab

This is #privateTab-tabContext-toggleTabPrivate, so it's easy th hide it:

#main-window[privateTab-isPrivate] #privateTab-menu-openNewPrivateTab,
#main-window[privateTab-isPrivate] #privateTab-afterTabs-openNewPrivateTab,
#main-window[privateTab-isPrivate] #privateTab-toolbar-openNewPrivateTab,
#main-window[privateTab-isPrivate] #privateTab-tabContext-toggleTabPrivate {
    display: none !important;
}

and there's still a blank tab when I right-click and press "Open in a new private tab". I also noticed, the blank tab also appears when I do the same thing in a private tab.

Yes, some things are broken now in Firefox 47a (#208).
Something went wrong with .documentURIObject from CPOW, that used for HTTP referrer.

@sylveon
Copy link
Contributor Author

sylveon commented Feb 9, 2016

Ok, so the issue is related to #208. Closing it as duplicate

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

No branches or pull requests

2 participants