Skip to content

Instantly share code, notes, and snippets.

@L-P
Last active June 27, 2024 00:23
Show Gist options
  • Save L-P/cfee57bd0835c88262e29ff3a1f09b60 to your computer and use it in GitHub Desktop.
Save L-P/cfee57bd0835c88262e29ff3a1f09b60 to your computer and use it in GitHub Desktop.
Block Amazon Q via uBlock Origin and IAM policies
{
"Statement": [
{
"Action": "q:*",
"Effect": "Deny",
"Resource": "*"
}
],
"Version": "2012-10-17"
}
console.aws.amazon.com##div[class^="awsui_drawer-trigger"] > button[data-testid*="conversational"]:upward(1)
console.aws.amazon.com##div[class^="awsui_drawer"]:has-text("Amazon Q")
docs.aws.amazon.com##div[id^="view-__module-context__-_amzn_conversational-experience"]:upward(3)
signin.aws.amazon.com##.side_image
s3.console.aws.amazon.com##div[class^="popover-"]:has-text("Amazon Q")
console.aws.amazon.com##div.awsui-app-layout__tools:has-text("Amazon Q")
console.aws.amazon.com##button.awsui-app-layout__drawer-button[aria-label*="Amazon Q"]
console.aws.amazon.com###ask-aws-feature-tour-popover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment