From 89b0ca6127167e8a108fbaeddd7ec4f906bbb717 Mon Sep 17 00:00:00 2001 From: ryanbr Date: Wed, 8 Jan 2025 07:46:25 +0000 Subject: [PATCH] Improve quora.com perf issues --- brave-lists/brave-firstparty.txt | 1 + brave-unbreak.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/brave-lists/brave-firstparty.txt b/brave-lists/brave-firstparty.txt index e83014e29..9a19022f4 100644 --- a/brave-lists/brave-firstparty.txt +++ b/brave-lists/brave-firstparty.txt @@ -3141,6 +3141,7 @@ economist.com##.adComponent_advert__kPVUI quora.com##.dom_annotate_ad_image_ad quora.com##.spacing_log_question_page_ad quora.com##.PageContentsLayout___StyledBox-d2uxks-0 > .q-box > .q-sticky > .qu-pb--medium +quora.com##.q-sticky[style*="box-sizing: border-box; position: sticky;"]:has-text(Advertisement) ||quora.com/ads/ ! thewrap.com thewrap.com##.wp-block-the-wrap-ad diff --git a/brave-unbreak.txt b/brave-unbreak.txt index 941bc8864..f4620de6f 100644 --- a/brave-unbreak.txt +++ b/brave-unbreak.txt @@ -24,6 +24,18 @@ reliabletv.me##+js(rpnt, script, /const doRedirect = 1;[\s\S]*(?=const doAuthChe ! /^https:\/\/[a-z]\d{3}\.[a-z]+\.com\/script\.js$/$script,1p,redirect-rule=noopjs,strict3p,from=com /^https:\/\/[a-z]\d{3}\.[a-z]+\.com\/script\.js$/$script,1p,redirect-rule=noopjs,domain=beaumontenterprise.com|bigrapidsnews.com|chicagotribune.com|courant.com|ctinsider.com|ctpost.com|expressnews.com|greenwichtime.com|houstonchronicle.com|lmtonline.com|mcall.com|michigansthumb.com|mrt.com|myjournalcourier.com|myplainview.com|newstimes.com|nydailynews.com|orlandosentinel.com|ourmidland.com|pilotonline.com|seattlepi.com|sfchronicle.com|sfgate.com|stamfordadvocate.com|sun-sentinel.com|thehour.com|theintelligencer.com|thetelegraph.com|timesunion.com +! quora-perf issues +! https://community.brave.com/t/report-buggy-behaviour-on-one-exclusive-website/591130 +! https://community.brave.com/t/quora-not-responding-and-loading/589272/4 +! https://community.brave.com/t/brave-and-the-quora-website/590785 +quora.com#@#:xpath(//div[not(@class="ui_qtext_para") and contains(text(), 'ad by')]/parent::div/parent::div/parent::div[@id]) +quora.com#@#:xpath(//div[not(@class="ui_qtext_para") and contains(text(), 'promoted') and contains(text(), 'by')]/parent::a/parent::div/parent::div/parent::div[@id]) +quora.com#@#:xpath(//div[not(@class="ui_qtext_para") and contains(text(), 'Quora') and contains(text(), 'by') and contains(text(), 'Business')]/parent::a/parent::div/parent::div/parent::div[@id]) +quora.com#@#.FeedStory.feed_item > div > div:has-text(/by Quora for Business/i) +quora.com#@#.Toggle.SimpleToggle.ToggleAnswerFooterWrapper > div:has-text(/Promoted/i) +quora.com#@#:xpath(//span[contains(text(), 'by')]/ancestor::*[contains(concat(' ', @class, ' '), ' external_link ')]/../../..) +quora.com#@#:xpath(//p[(text()='d')]/../../../../..) + ! domain=com workaround (popads) ! /^https:\/\/[a-z]{8,12}\.com\/en\/(?:[a-z]{2,5}\/){0,2}[a-z]{2,}\?(?:[a-z]+=(?:\d+|[a-z]+)&)*?id=[12]\d{6}/$script,3p,match-case,to=com ! /^https?:\/\/(?:www\.|[0-9a-z]{7,10}\.)?[-0-9a-z]{5,}\.com\/\/?(?:[0-9a-z]{2}\/){2,3}[0-9a-f]{32}\.js/$script,3p,redirect-rule=noop.js,to=com