Created
April 19, 2016 16:42
-
-
Save aidin36/f9733d814391d1e5398f4645d86b2719 to your computer and use it in GitHub Desktop.
A Greasemonkey script to tell Google I don't want to trust every machine.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every single day, I have to uncheck both
Stay Signin' and
Never 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'.