Google帐户是您个人和职业生活的一部分,尤其是通过单点登录 ( SSO ),它可以帮助您一键登录几乎任何平台或应用程序(platform or app)。有时,您可能需要允许朋友或家人访问(friend or family member access)您的计算机。发生这种情况时,您可能想知道如何自动退出Gmail。
Google 没有允许您自动退出(Google doesn)Google帐户的内置功能。因此,您需要使用以下一种或多种方法来注销您的所有Google帐户。
使用两步验证
假设(Say)您有一台 PC 正在工作,您已经登录了您的Gmail。您请病假在家休息,但您的同事需要使用您的 PC 访问一些文档。您意识到您尚未在工作 PC上退出(work PC)Gmail。
这是个问题,对吧?好吧,如果您在Gmail(Gmail)上启用了两因素身份验证(或两步验证),则不会。双重身份验证不仅每次都需要手动登录,而且还为您的Google 帐户(Google account)增加了一层额外的安全保护。
- 转到您的Google 帐户(Google account)。
- 从顶部导航面板中选择安全性。(Security )
- 向下滚动并查找2-Step Verification。
- 您现在将看到一个屏幕,您可以从该屏幕开始设置两步验证。选择开始(GET STARTED)。
- 登录(Log)到您的Gmail,您现在会看到一个屏幕,您需要在其中输入您的电话号码(phone number)以进行验证。输入您的电话号码(phone number),选择您是想通过短信还是电话(text or phone call)进行验证,然后选择下一步(NEXT)。
- 在下一步中输入(Enter)您在手机上收到的代码,然后选择(step and select) 下一步(NEXT)。Google会提示您开启两步验证。选择开启(TURN ON)。
- 您现在已经设置了两步验证。如果您愿意,您可以添加其他验证步骤,包括使用Google Authenticator 应用程序(Google Authenticator app)进行验证。
设置两步验证后,每次关闭标签时,您都会自动退出Google 帐户。(Google account)
每当您想登录时,这确实会为您增加一个额外的步骤。不过,您可以通过将用户名和密码(username and password)保存到设备的浏览器中来使该过程更容易一些,这样您就可以使用自动填充来(use autofill to insert login credentials)快速插入登录凭据。
您无需担心其他人使用自动填充访问您的Google 帐户(Google account),因为他们仍然需要您提供的验证码(verification code)才能登录。
使用隐私浏览
您可以使用隐私浏览(在Chrome中也称为隐身模式(Incognito Mode))在每次会话后自动注销。另外,您是否设置了Google Chrome 浏览器同步(Google Chrome Browser sync)?现在是关闭同步的好时机,因为这将同步您输入浏览器的所有信息,包括密码。
当您使用隐私浏览时,不会保存任何信息。如果您使用隐私浏览登录Google 帐户(Google account),关闭浏览器窗口(browser window)会自动将您注销,因此您下次使用浏览器时需要重新登录。您甚至可以创建快捷方式以在隐私浏览模式下(browsing mode)直接启动浏览器。
以下是在Chrome(Chrome)、Firefox和 Edge中使用隐私浏览的方法:
- Chrome和Edge:按Ctrl + Shift + N N。
- 火狐(Firefox):按Ctrl + Shift + P P。
关闭窗口时清除 Cookie
另一种自动注销Google帐户的方法是将您的浏览器设置为自动删除 cookie。以下是如何更改Chrome上的设置以自动删除 cookie:
- 选择顶部的省略号并选择Settings。
- 从左侧窗格中选择隐私和安全(Privacy and security),然后从右侧窗格中选择Cookie 和其他站点数据(Cookies and other site data)。
- 向下滚动到自定义行为(Customized behaviors )部分,然后在关闭窗口时始终清除 cookie(Always clear cookies when windows are closed)文本旁边选择添加(Add )。
- 将此添加为站点:
[*.]google.com
完成后,选择添加(Add)。这会将所有 google 子域添加到列表中,例如 mail.google.com、calendar.google.com 等。
- 当您关闭浏览器窗口(browser window)时,您将退出所有Google帐户。
删除设备
如果您没有设置两步验证或自动清除 cookie,您可以从您的Google 帐户(Google account)中远程删除该设备。
- 转到 Google 上的您的设备页面(devices page)。
- 找到您要删除的设备并选择更多详细信息(More details)。
- 在下一个屏幕上选择退出(Sign out),并在出现提示时确认退出。(Sign out)
而已; 您现在将退出您的Google 帐户(Google account)。
你现在处于控制之中
即使您使用多台设备,甚至在您没有物理访问权限的设备上,您现在也可以控制对您的Google 帐户的访问。(Google account)最好使用两步验证,因为您还添加了额外的安全层。不过,如果您想在不经过验证步骤的情况下快速登录,您可以使用其他方法。
Want to Automatically Logout of Gmail or Google Account?
Google accounts are а part of your personаl and professional lives, especially with single sign-on (SЅО) that hеlps you log іnto almost any platform or app wіth one click. Sometimes, you may need to allow a friend or famіly member access to your comрuter. When thіs happens, yoυ may wonder hоw to log out of Gmail automatically.
Google doesn’t have a built-in feature that allows you to log out of Google accounts automatically. So, you’ll need to use one or more of the following methods to log out of all your Google accounts.
Use Two-Step Verification
Say you’ve got a PC at work where you’ve logged into your Gmail. You’ve called in sick and are resting at home, but your colleague needs to use your PC to access some documents. You realize that you haven’t signed out of your Gmail on your work PC.
That’s a problem, right? Well, it wouldn’t be if you had enabled two-factor authentication (or two-step verification) on your Gmail. Not only does two-factor authentication require manual login every time, but it also adds an extra layer of security to your Google account.
- Go to your Google account.
- Select Security from the top navigation panel.
- Scroll down and look for 2-Step Verification.
- You’ll now see a screen from where you can begin to set up two-step verification. Select GET STARTED.
- Log into your Gmail, and you’ll now see a screen where you’ll need to enter your phone number for verification. Enter your phone number, select whether you’d like to verify with a text or phone call, and select NEXT.
- Enter the code you received on your phone in the next step and select NEXT. Google will prompt you to turn on two-step verification. Select TURN ON.
- You’ve now set up two-step verification. If you choose, you can add additional verification steps, including verification using the Google Authenticator app.
Once you’ve set up two-step verification, you’ll automatically be logged out of your Google account every time you close the tab.
This does add an extra step for you whenever you want to log in. Still, you can make the process a tad easier by saving your username and password into your device’s browser so you can use autofill to insert login credentials quickly.
You don’t need to worry about others accessing your Google account using autofill because they’ll still need the verification code from you to log in.
Use Private Browsing
You could use private browsing (also called Incognito Mode in Chrome) to log yourself out automatically after each session. Also, have you set up Google Chrome Browser sync? Now is a good time to turn the sync off because this will sync any information you put into your browser, including passwords.
When you use private browsing, none of the information is saved. If you log into a Google account using private browsing, closing the browser window will automatically log you out, so you’ll need to log in again the next time you use the browser. You can even create a shortcut to directly launch the browser in private browsing mode.
Here’s how you can use private browsing in Chrome, Firefox, and Edge:
- Chrome and Edge: Press Ctrl + Shift + N.
- Firefox: Press Ctrl + Shift + P.
Clear Cookies When Window is Closed
Another way to log out of Google accounts automatically is by setting your browser to delete cookies automatically. Here’s how you can change settings on Chrome to delete cookies automatically:
- Select the ellipsis at the top and select Settings.
- Select Privacy and security from the left pane, and then Cookies and other site data from the right pane.
- Scroll down to the Customized behaviors section and select Add beside the text Always clear cookies when windows are closed.
- Add this as a site:
[*.]google.com
When you’re done, select Add. This will add all google subdomains to the list, such as mail.google.com, calendar.google.com, etc.
- You’ll be logged out of all Google accounts when you close the browser window.
Remove Device
If you’re in a situation where you haven’t set up two-step verification or automatic clearing of cookies, you could remove the device remotely from your Google account.
- Go to Your devices page on Google.
- Find the device you want to remove and select More details.
- Select Sign out on the next screen and confirm the Sign out when prompted.
That’s it; you will now be logged out of your Google account.
You’re Now in Control
You can now control access to your Google account even if you use multiple devices and even on devices that you don’t have physical access to. It’s probably best to use two-step verification since you also add an extra layer of security. Still, you could use the other methods if you like to log in quickly without going through the verification steps.