Skip to content

Instantly share code, notes, and snippets.

@L-P
Last active December 11, 2023 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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