Sitelet https://web.archive.org/web/20210120231840/https://github.com/huashengdun/webssh/issues/131
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 option to close tab, when exit/quit from device #131

Open
Chunters opened this issue Feb 16, 2020 · 0 comments
Open

Add option to close tab, when exit/quit from device #131

Chunters opened this issue Feb 16, 2020 · 0 comments

Comments

@Chunters
Copy link

@Chunters Chunters commented Feb 16, 2020

We are using "passing arguments by url" functionality to connect to our devices in new tab.
When we log out, we expect the tab to close.

We made an example of what we talking about.

The following code needs to be added to test what we expect.
if(text=="chan closed"){window.close();}

after this

console.log(text);

Can you add this option or some workaround without change code in actual version?

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.