NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Google Cloud Console: Redirect to User 1
// @version 1.3
// @description GCP (Google Cloud Console): Redirect to User 1
// @copyright 2026, vonox7 (https://openuserjs.org/users/vonox7)
// @license MIT
// @author vonox7
// @match https://console.cloud.google.com/*
// @updateURL https://openuserjs.org/meta/vonox7/GCP-redirect-to-user-1.js.meta.js
// ==/UserScript==
(function () {
'use strict';
// Make sure not to redirect when already authuser=1 to not cause infinite loops.
if (window.location.href.indexOf("authuser=1") === -1) {
const url = new URL(window.location.href)
url.searchParams.delete('authuser')
url.searchParams.append('authuser', '1')
window.location.href = url.href
}
})();