Skip to content

Instantly share code, notes, and snippets.

@jay0lee
Created August 18, 2025 17:53
Show Gist options
  • Select an option

  • Save jay0lee/5daab30c9850073603f48226be141739 to your computer and use it in GitHub Desktop.

Select an option

Save jay0lee/5daab30c9850073603f48226be141739 to your computer and use it in GitHub Desktop.
Redirect to Secure Google Cloud Console
{
"name": "Secure Cloud Console Redirect",
"version": "1.0",
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules1.json"
}
]
},
"permissions": [
"declarativeNetRequest",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"*://console.cloud.google.com/*"
],
"manifest_version": 3
}
[
{
"id": 1,
"priority": 1,
"action": {
"type": "redirect",
"redirect": {
"transform": {
"scheme": "https",
"host": "console-secure.cloud.google.com"
}
}
},
"condition": {
"urlFilter": "|https://console.cloud.google.com/",
"resourceTypes": [
"main_frame"
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment