From 87629d836ccac70258d34d859f0b1c1e7f658e2a Mon Sep 17 00:00:00 2001 From: Josh <8677174+bijij@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:06:23 +1000 Subject: [PATCH] Add new container class names --- .github/workflows/main.yml | 5 ++++- js/content-script.js | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 908e603..a689f34 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,9 @@ name: CI on: [push, pull_request] +env: + ESLINT_USE_FLAT_CONFIG: false + jobs: build: @@ -17,4 +20,4 @@ jobs: npm install eslint-plugin-json - name: Lint with ESLint run: | - npx eslint --ext .js,.json . + npx eslint . --ext .js,.json diff --git a/js/content-script.js b/js/content-script.js index 3ceb2a4..1f5d9da 100644 --- a/js/content-script.js +++ b/js/content-script.js @@ -32,6 +32,8 @@ function getContainer(node) { ['.irc_c[style*="visibility: visible;"][style*="transform: translate3d(0px, 0px, 0px);"]', VERSIONS.FEB18], ['.irc_c[data-ved]', VERSIONS.JUL19], ['.tvh9oe[style*="display: block;"]', VERSIONS.OCT19] + ['.EIehLd[style*="display: block;"]', VERSIONS.OCT19] + ['.fHE6De[style*="display: block;"]', VERSIONS.OCT19] ].forEach(element => { var child = node.querySelector(element[0]); if (child) {