Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mhulse
Last active May 16, 2017 16:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhulse/07512dcafb77af998921 to your computer and use it in GitHub Desktop.
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".
// ==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