Untitled

mail@pastecode.io avatar
unknown
javascript
a year ago
7.1 kB
28
Indexable
Never
document.addEventListener("keypress", (e) => {
  if (e.keyCode != 92) return;
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-decision-annotation-tabs")
      .shadowRoot.querySelector("#mdc-tab-15")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector(
        "yurt-core-decision-annotation-tabs > div.container > yurt-core-decision-add-review"
      )
      .shadowRoot.querySelector("tcs-button")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-questionnaire")
      .shadowRoot.querySelector(
        "div.questionnaire-content.questionnaire-content-with-helpcenter > yurt-core-label-questionnaire-question-type-mapper.current-question-set"
      )
      .shadowRoot.querySelector(
        "yurt-core-label-questionnaire-timeline > yurt-core-label-questionnaire-single-choice"
      )
      .shadowRoot.querySelector("#text-parent > mwc-radio")
      .shadowRoot.querySelector("div > input")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-questionnaire")
      .shadowRoot.querySelector(
        "div.questionnaire-content.questionnaire-content-with-helpcenter > yurt-core-label-questionnaire-question-type-mapper.current-question-set"
      )
      .shadowRoot.querySelector(
        "yurt-core-label-questionnaire-timeline > yurt-core-label-questionnaire-single-choice"
      )
      .shadowRoot.querySelector("#none_of_the_above")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-questionnaire")
      .shadowRoot.querySelector(
        "div.questionnaire-navigation > div > slot > tcs-button"
      )
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector(
        "yurt-core-decision-annotation-edit > yurt-video-decision-policy-edit"
      )
      .shadowRoot.querySelector("#decision-panel-policy-edit")
      .shadowRoot.querySelector("#decision-panel-policy-selector")
      .shadowRoot.querySelector(
        "tcs-view:nth-child(2) > div > yurt-core-policy-selector-item"
      )
      .shadowRoot.querySelector("#metadata")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-decision-annotation-edit")
      .shadowRoot.querySelector("div.action-buttons > tcs-button.save-button")
      .click();
  } catch (e) {}
  try {
    document
      .querySelector("body > yurt-root-app")
      .shadowRoot.querySelector("redux-provider > yurt-root-app-connected")
      .shadowRoot.querySelector(
        "tcs-view > app-drawer-layout > app-header-layout > yurt-core-router"
      )
      .shadowRoot.querySelector("yurt-review-root")
      .shadowRoot.querySelector("tcs-view > yurt-root-plugin-manager")
      .shadowRoot.querySelector("div > yurt-video-root")
      .shadowRoot.querySelector(
        "yurt-review-layout > tcs-view:nth-child(4) > yurt-video-decision-panel-v2"
      )
      .shadowRoot.querySelector("yurt-core-decision-submit-panel")
      .shadowRoot.querySelector("div > tcs-dropdown-button")
      .shadowRoot.querySelector("div > tcs-view > tcs-button")
      .shadowRoot.querySelector("mwc-button")
      .shadowRoot.querySelector("#button")
      .click();
  } catch (e) {}
});