Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A Greasemonkey script to tell Google I don't want to trust every machine.
// ==UserScript==
// @name Uncheck Google's Stay Singin
// @description This will uncheck both `Stay Signin' on password page, and `Never ask on this computer again' on challange (Second Step Verification Code) page.
// @namespace com.aidinhut
// @include https://accounts.google.com/ServiceLogin*
// @include https://accounts.google.com/signin*
// @version 1
// @grant none
// ==/UserScript==
//
// This script is published without any Copyright. Use it as you like.
//
var checkBox = document.getElementById('PersistentCookie');
if (checkBox) {
checkBox.checked = false;
};
var checkBox = document.getElementById('trustDevice');
if (checkBox) {
checkBox.checked = false;
};
@aidin36
Copy link
Author

aidin36 commented Apr 19, 2016

Every single day, I have to uncheck both Stay Signin' andNever ask on this computer again'. They should be unchecked by default. If I want them, I can check them myself.

In security world, the default is `Don't trust'.

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