From 237ccbbd13fa9d57c5fd2cad8c372d76fe648899 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 13 Nov 2021 11:57:46 +0100 Subject: [PATCH] Fix Quora+ (banner) --- changelog.txt | 1 + contentScript.js | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/changelog.txt b/changelog.txt index 71d667b7..1de7dd19 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Fix Nikkei Asian Review (cookies) +Fix Quora+ (banner) Fix Repubblica sites (re-enable Googlebot) Add rules for new sites (opt-in to custom sites) Check for update version on startup/options (now opt-out) diff --git a/contentScript.js b/contentScript.js index fe308cea..3d84416b 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2355,6 +2355,14 @@ else if (matchDomain('nytimes.com')) { } } +else if (matchDomain('quora.com')) { + let overlay = document.querySelector('div.qu-zIndex--inline_overlay'); + removeDOMElement(overlay); + let mask_image = document.querySelector('div.ePDXbR'); + if (mask_image) + mask_image.classList.remove('ePDXbR'); +} + else if (matchDomain('qz.com')) { let url = window.location.href; window.setTimeout(function () {