uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.07k stars 762 forks source link

quora.com - Cannot load with uBlock - Annoyances filter enabled #9883

Closed xlacroixx closed 3 years ago

xlacroixx commented 3 years ago

Prerequisites

I tried to reproduce the issue when...

URL(s) where the issue occurs

https://www.quora.com/

Describe the issue

When using uBlock filters – Annoyances (or AdGuard Annoyances, already filed an issue for it), Quora will be unable to load its webpage. It appears that the filter blocks or breaks a vital JavaScript, preventing the page from loading.

The problematic lines seem to be:

5445 — ! https://github.com/AdguardTeam/AdguardFilters/issues/73724
5446 — quora.com##+js(set, ansFrontendGlobals.settings.signupWallType, undefined)

The issue appears to be located in this file (link redirects directly to the said line): https://github.com/uBlockOrigin/uAssets/blob/master/filters/annoyances.txt#L5446

Screenshot(s)

uBlock On

ublockOn

uBlock Off

ublockOff

uBlock Origin version

1.37.3b20

Browser name and version

Chrome 92.0.4515.159 (Official build) (64 bits)

Settings

Man I've made too many changes and my theory is likely to be correct. (Very long!) JSON below.

{
  "timeStamp": 1630518371847,
  "version": "1.37.3b20",
  "userSettings": {
    "externalLists": "https://www.fanboy.co.nz/enhancedstats.txt",
    "firewallPaneMinimized": false,
    "importedLists": [
      "https://www.fanboy.co.nz/enhancedstats.txt"
    ],
    "popupPanelSections": 63
  },
  "selectedFilterLists": [
    "user-filters",
    "ublock-filters",
    "ublock-badware",
    "ublock-abuse",
    "ublock-unbreak",
    "adguard-generic",
    "easylist",
    "urlhaus-1",
    "spam404-0",
    "adguard-social",
    "fanboy-thirdparty_social",
    "fanboy-annoyance",
    "fanboy-social",
    "ublock-annoyances",
    "dpollock-0",
    "mvps-0",
    "plowe-0",
    "FRA-0",
    "https://www.fanboy.co.nz/enhancedstats.txt"
  ],
  "hiddenSettings": {},
  "whitelist": [
    "about-scheme",
    "betterdiscord.app",
    "biblio.manuel-numerique.com",
    "biblio.nathan.fr",
    "chrome-extension-scheme",
    "chrome-scheme",
    "ciembor.github.io",
    "classevirtuelle.cned.fr",
    "clickloot.com",
    "dmarket.com",
    "docs.microsoft.com",
    "duckduckgo.com",
    "edge-scheme",
    "factuel.afp.com",
    "food.unl.edu",
    "fr.nextdoor.com",
    "fr.steelseries.com",
    "gleam.io",
    "https://news.google.com/topstories?hl=fr&gl=FR&ceid=FR:fr",
    "infomaxparis.com",
    "marketplace.visualstudio.com",
    "meteofrance.com",
    "modrinth.com",
    "moz-extension-scheme",
    "noctua.at",
    "opera-scheme",
    "overwatchleague.com",
    "pay.zen.com",
    "pixelartmaker.com",
    "pokemmo.eu",
    "rog.asus.com",
    "twitter.com",
    "us.forums.blizzard.com",
    "vivaldi-scheme",
    "www.allyouplay.com",
    "www.amd.com",
    "www.bequiet.com",
    "www.blizzard.com",
    "www.boulanger.com",
    "www.cdiscount.com",
    "www.coolermaster.com",
    "www.corsair.com",
    "www.dlcompare.fr",
    "www.drinkaware.co.uk",
    "www.ea.com",
    "www.eteknix.com",
    "www.francetvinfo.fr",
    "www.goclecd.fr",
    "www.howtogeek.com",
    "www.hyperxgaming.com",
    "www.kaspersky.fr",
    "www.kitguru.net",
    "www.letelegramme.fr",
    "www.minecraft.net",
    "www.myfonts.com",
    "www.paypal.com",
    "www.pny.eu",
    "www.prepaiddigitalsolutions.com",
    "www.prizerebel.com",
    "www.rockpapershotgun.com",
    "www.samsung.com",
    "www.scytheus.com",
    "www.thermalright.com",
    "www.vidaplayer.com",
    "www.wasdkeyboards.com",
    "wyciwyg-scheme",
    "x.synapse.to"
  ],
  "dynamicFilteringString": "behind-the-scene * * noop\nbehind-the-scene * inline-script noop\nbehind-the-scene * 1p-script noop\nbehind-the-scene * 3p-script noop\nbehind-the-scene * 3p-frame noop\nbehind-the-scene * image noop\nbehind-the-scene * 3p noop",
  "urlFilteringString": "",
  "hostnameSwitchesString": "no-large-media: behind-the-scene false\nno-csp-reports: * true\nno-strict-blocking: tag.shopping-feed.com true\nno-strict-blocking: action.metaffiliation.com true\nno-strict-blocking: track.effiliation.com true\nno-strict-blocking: ch0p.darty.com true\nno-strict-blocking: eultech.fnac.com true\nno-strict-blocking: adfoc.us true",
  "userFilters": "! MASSIVE CLICKBAIT AHEAD\nwww.alphr.com\n\n! 2021-02-21 https://forums.tomshardware.com\nforums.tomshardware.com##.jw-reset.jw-video\nforums.tomshardware.com###video_ad\n\n! 2021-02-21 https://www.techpowerup.com\n||www.techpowerup.com/thlknzrjbv/d5bb5de3.jpg$image\n\n! 2021-02-24 https://knowyourmeme.com\n||i.kym-cdn.com/entries/icons/original/000/020/682/b04.jpg$image\n||i.kym-cdn.com/entries/icons/original/000/033/765/cover3.jpg$image\n\n! 2021-02-25 https://www.rosewill.com\nwww.rosewill.com###Popup_Block_EU\n\n! 2021-02-26 https://outervision.com\n||outervision.com/images/beginner1.jpg$image\n||outervision.com/images/expert.jpg$image\n||outervision.com/images/builds.jpg$image\n\n! 2021-02-28 https://gamecrate.com\ngamecrate.com###onetrust-consent-sdk\n\n! 2021-02-28 https://www.culture-generale.fr\nwww.culture-generale.fr##.mDWniIWihssX\nwww.culture-generale.fr##.mDWniIWihssX-bg\n\n! 2021-03-02 https://www.techpowerup.com\n||www.techpowerup.com/thlknzrjbv/3b2ffd27.jpg$image\n||www.techpowerup.com/thlknzrjbv/3b2ffd27.jpg$image\nwww.techpowerup.com##.hmxizvp\n\n! 2021-03-05 https://www.rtings.com\nwww.rtings.com##.insider_notice\n\n! 2021-03-06 https://www.theverge.com\nwww.theverge.com##.m-privacy-consent\n\n! 2021-03-06 https://www.tomshardware.com\nwww.tomshardware.com##.css-1ytpjy4\nwww.tomshardware.com##.qc-cmp2-container\n\n! 2021-03-06 https://forums.tomshardware.com\nforums.tomshardware.com##.qc-cmp2-container\n\n! 2021-03-12 https://www.theverge.com\nwww.theverge.com##.m-privacy-consent\nwww.theverge.com###privacy-consent\n\n! 2021-04-03 https://www.csgonades.com\nwww.csgonades.com##.ad.jsx-3638334256\n\n! 2021-04-07 https://clickloot.com\nclickloot.com##.is-danger.skin-shop-warning.notification\n||clickloot.com/img/blue.aafb824b.jpg$image\nclickloot.com##.is-top-right.info.snackbar\n\n! 2021-04-09 https://csgostash.com\ncsgostash.com##div.row:nth-of-type(2)\n\n! 2021-04-09 https://cs.money\ncs.money##.styles_small__MzKzZ.styles_container__10SV6\n\n! 2021-04-22 https://www.pcgamer.com\nwww.pcgamer.com##.css-2r8i31.qc-cmp-cleanslate\n\n! 2021-04-24 https://www.bananatic.com\nwww.bananatic.com###abm\n||www.bananatic.com/fr/photos/users/avatar-22895-ts1619233771.jpg$image\n\n! 2021-04-24 https://gamehag.com\n||gamehag.com/img/avatar.jpg$image\n||gamehag.com/img/rank/1.png$image\ngamehag.com##.d-block.ng-binding.angular-load-fix.rank\n\n! 2021-05-05 https://totalcsgo.com\n||totalcsgo.com/site-takeover/apr7-2020/desktop.jpg$image\n||totalcsgo.com/site-takeover/apr7-2020/desktop.jpg$image\n\n! 2021-06-03 https://fortnite-archive.fandom.com\nfortnite-archive.fandom.com##.floatnone\n\n! 2021-07-13 https://www.oregonlive.com\nwww.oregonlive.com##.fEy1Z2XT\n\n! 2021-08-24 https://west-games.com\nwest-games.com##.cli-modal-content.cli-bar-popup\n"
}

Notes

Disabling the filter itself appears to work.

I cannot edit the line myself as I couldn't get to make a local file work on uBlock Origin.

uBlock-user commented 3 years ago

Does it happen when you'r logged in ?

uBlock-user commented 3 years ago

Seems to be affecting dev builds only as nobody has reported this on stable.

Caused by https://github.com/gorhill/uBlock/commit/a9e6f9c72c920d68a6e5b01b844ad39e6f2e02b0

@gorhill

Originally added in https://github.com/uBlockOrigin/uAssets/commit/e56e207f9b228837f1925ee6a8ef9378b4907506 and nobody had an issue for more than a month and still don't as far as stable builds are concerned.

gorhill commented 3 years ago

Please provide the URL seen in the screenshot in text for that can be copy-pasted.

uBlock-user commented 3 years ago

https://www.quora.com/Why-do-so-many-developers-hate-GitHubs-electron-framework

Extracted, happens with or without login

uBlock-user commented 3 years ago

Capture