Atlassian Remove AI Stuff

This removes the annoying AI stuff in Atlassian's Jira product - It may work in others.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name           Atlassian Remove AI Stuff
@namespace      eliotcole Scripts
@version        2.0
@description    This removes the annoying AI stuff in Atlassian's Jira product - It may work in others.
@author         eliotcole
@license        MIT
@preprocessor   default
==/UserStyle== */

@-moz-document domain(atlassian.net) {
  :root{
    --mmmEd1table: 0;
  }
  
  button[data-testid="atlassian-intelligence-toolbar-button"], 
  button[data-testid="highlight-actions.ui.popup-target.popup-dialog.action-items.define-button.define-button"],
  div[aria-label="Summarise"]:has( > button[data-testid="issue-smart-request-summary-trigger.ui.jira-smart-summary-standard-button"] ),
  div[data-testid="ai-proactive-container.view-test"], 
  div[data-testid="issue.views.issue-base.foundation.status.improve-issue"],
  div:has( > div[data-testid="ai-proactive-container.ai-container"] ),
  div:has( > div[data-testid="issue-smart-request-summary.ui.ai-container"] ),
  div:has( > button[data-testid="platform-ai-button"] ), 
  div:has( > div > button#context-menu-rovo-chat-more-options ), 
  div:has( > div > div > div > button > span > div > div > svg[data-testid="atlassian-intelligence.common.ui.ai-icon.svg-icon"] ),
  span[data-testid="atlassian-navigation.ui.conversation-assistant.app-navigation-ai-mate"]{
    display: none !important;
  }
}