uBlockOrigin / uAssets

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

id.vk.com: breakage #24354

Closed suprunchuk closed 3 months ago

suprunchuk commented 3 months ago

Prerequisites

URL address of the web page

https://id.vk.com/ + https://api.vk.com/method/statEvents.addVKUI

Category

breakage

Description

Hi, I am faced with excessive blocking of statistics, which is why website id.vk.com is not working. I found that the filters are blocked api.vk.com/method/statEvents. Is it possible to add an exception so that all this is blocked except https://api.vk.com/method/statEvents.addVKUI

Other extensions used

-

Screenshot(s)

Screenshot(s) ![img-2024-07-03-02-35-40](https://github.com/uBlockOrigin/uAssets/assets/57152612/f4a06cbd-f1a3-4c13-8b1c-7d8117b24302)

Configuration

```yaml uBlock Origin: 1.58.0 Chromium: 126 filterset (summary): network: 155548 cosmetic: 67620 scriptlet: 23039 html: 0 listset (total-discarded, last-updated): default: user-filters: 129-0, never ublock-filters: 38968-302, 1h.17m Δ ublock-badware: 8662-0, 1h.17m Δ ublock-privacy: 1027-2, 1h.17m Δ ublock-unbreak: 2366-0, 1h.17m Δ ublock-quick-fixes: 117-0, 1h.17m Δ easylist: 86376-582, 1h.17m Δ easyprivacy: 51129-639, 1h.17m Δ urlhaus-1: 15055-5, 1m plowe-0: 3543-0, 1m RUS-0: 40633-105, 1h.17m Δ filterset (user): [array of 85 redacted] trustedset: added: [array of 1 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 631 ms (selfie) maxAssetCacheWait: 49 ms cacheBackend: indexedDB popupPanel: blocked: 11 network: vk.com: 10 mail.ru: 1 extended: ##+js(abort-on-property-read, Groups.showDisclaimer) ##+js(href-sanitizer, a[href*="/away.php?"], ?to) ##+js(set-constant, PageBottomBanners, undefined) ##+js(set-constant, Unauthorized2, undefined) ##+js(set-constant, noAdsAtAll, {}) ```
suprunchuk commented 3 months ago

And also please exclude https://api.vk.com/method/statEvents.addVKIDAnonymously

stephenhawk8054 commented 3 months ago

Can you test this filter?

id.vk.com##+js(no-fetch-if, api.vk.com/method/statEvents.)

Click on uBO icon > ⚙ Dashboard button > Add the filter(s) in "My filters" pane > ✓ Apply changes > Open new tab and test again.

dimisa-RUAdList commented 3 months ago

@suprunchuk What exactly is broken due to this blockage?

suprunchuk commented 3 months ago

@suprunchuk What exactly is broken due to this blockage?

The "confirmation via T-id" section does not open

dimisa-RUAdList commented 3 months ago

@ryanbr @Khrin

suprunchuk commented 3 months ago

@dimisa-RUAdList Also, authorization through other services using vk ID does not work. for example, you open https://id.vk.com/business/go and click log in via VK id. you are getting a network error.

img-2024-07-03-01-53-06

dimisa-RUAdList commented 3 months ago

@ryanbr This exception does not solve the problem, it simply does not work there (the target domain is id.vk.com). Your best bet is to remove the blocking rule.

suprunchuk commented 3 months ago

@dimisa-RUAdList Also, authorization through other services using vk ID does not work. for example, you open https://id.vk.com/business/go and click log in via VK id. you are getting a network error.

img-2024-07-03-01-53-06

FIX

suprunchuk commented 3 months ago

@suprunchuk What exactly is broken due to this blockage?

The "confirmation via T-id" section does not open

FIX

suprunchuk commented 3 months ago

@ryanbr This exception does not solve the problem, it simply does not work there (the target domain is id.vk.com). Your best bet is to remove the blocking rule.

Why doesn't it solve it? My problem is solved.

  1. My account confirmation page is not blocked.
  2. I open a third-party authorization via https://id.vk.com/business/go

image

stephenhawk8054 commented 3 months ago

https://github.com/easylist/easylist/commit/a7d485650a4e617fccff509be737a2a47ec6ab48

suprunchuk commented 3 months ago

easylist/easylist@a7d4856

Thx!!

dimisa-RUAdList commented 3 months ago

@stephenhawk8054 This exception is not enough. The target domain in some cases is not api.vk.com, but id.vk.com. Therefore, I had to add to RU AdList: @@||api.vk.com/method/statEvents.$xmlhttprequest,domain=api.vk.com|id.vk.com

stephenhawk8054 commented 3 months ago

@dimisa-RUAdList $~third-party includes all subdomains of vk.com I think?