Last active
May 16, 2017 16:24
-
-
Save mhulse/07512dcafb77af998921 to your computer and use it in GitHub Desktop.
UPDATED for the 2017 Google login page redesign. +fix-2-step.user.js: Firefox GreaseMonkey or Chrome Tampermonkey script: Google "2-step verification" fix: Uncheck "don't ask" and never "trust (this) device".
This file contains hidden or 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 Google "2-step verification" fix: Uncheck "don't ask" and never "trust (this) device". | |
// @namespace http://mky.io | |
// @include https://accounts.google.com/signin* | |
// @description When "2-step verfication" is turned on, this disables the "Don't ask again on this computer" checkbox. | |
// @grant none | |
// @version 20160728 | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.getElementById('trustDeviceLabel').previousSibling.setAttribute('aria-checked', ''); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment