From a62d9f68194e705b40f44bd3c3660a8f6357a373 Mon Sep 17 00:00:00 2001 From: Marvin Alexander Krebber Date: Tue, 8 Oct 2024 13:33:56 +0200 Subject: [PATCH] remove bad background hue which is annoying --- firefox/popup/settings.html | 7 ++++--- firefox/skipper.js | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/firefox/popup/settings.html b/firefox/popup/settings.html index 6818ad0c..fd903160 100644 --- a/firefox/popup/settings.html +++ b/firefox/popup/settings.html @@ -717,9 +717,10 @@

Changelog

1.1.38

diff --git a/firefox/skipper.js b/firefox/skipper.js index deafb610..fc38b938 100644 --- a/firefox/skipper.js +++ b/firefox/skipper.js @@ -1089,6 +1089,13 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO } async function Amazon_xray() { document.querySelector(".xrayQuickViewList")?.remove(); + // remove bad background hue which is annoying + let b = document.querySelector(".fkpovp9.f8hspre:not(.enhanced)"); + if (b) { + b.classList.add("enhanced"); + b.style.backgroundColor = "transparent"; + b.style.background = "transparent"; + } } async function Amazon_doubleClick() {