Last active
July 26, 2022 11:35
-
-
Save trietsch/1665db6cc6bcc5a290ef6370ca503d73 to your computer and use it in GitHub Desktop.
Automatically skip the redirect notice from Google
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 Skip redirect notice | |
// @version 1.0.0 | |
// @description Immediately redirects when presented a redirect notice from Google. | |
// @author Robin Trietsch | |
// @include https://www.google.com/url?* | |
// @grant none | |
// @updateURL https://gist.github.com/trietsch/1665db6cc6bcc5a290ef6370ca503d73/raw/3b69af9ab266e0af438459337409387ec567d6db/auto-redirect.user.js | |
// @downloadURL https://gist.github.com/trietsch/1665db6cc6bcc5a290ef6370ca503d73/raw/3b69af9ab266e0af438459337409387ec567d6db/auto-redirect.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.location = document.querySelectorAll('a')[0].href; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install Tampermonkey, after install, click the
Raw
button.