Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

civitai.com: detection #22203

Closed
8 of 9 tasks
Buffmutti opened this issue Jan 25, 2024 · 11 comments
Closed
8 of 9 tasks

civitai.com: detection #22203

Buffmutti opened this issue Jan 25, 2024 · 11 comments

Comments

@Buffmutti
Copy link

Prerequisites

  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • I read and understand the policy about what is a valid filter issue.
  • I verified that this issue is not a duplicate. (Use this button to find out.)
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.
  • I did not enable additional filter lists, or I have verified that the issue still occurs without enabling additional filter lists.
  • I do not have custom filters/rules, or I have verified that the issue still occurs without custom filters/rules.
  • I am not using uBlock Origin (uBO) along with other content blocker extensions.
  • I have verified that the web browser's built-in blocker or DNS blocking (standalone or through a VPN) is not causing the issue.
  • I did not answer truthfully to ALL the above checkboxes.

URL address of the web page

https://civitai.com/models

Category

detection

Description

I use Civitai.com daily because i create pictures with the AI every day and need LoRAs and other stuff from that site.
Since today Civitai.com recognizes that i use a adblocker and tells me to remove it and plasters the place with graphics and buttons with which i would buy their premium model. I updated the filters already, but this didn't help.

Other extensions used

Consent-O-matic
Deactivation Add-on for Google Analytics
Fluff Busting Purity
Google Search "View Image" button
Hide Youtube Shorts
IBA Opt-out
IDN Safe
Mega
MyJDownloader Browser extension
Privacy Badger
Return Youtube Dislike
RSS Feedreader
Set Character Encoding
Shorts to normal player
Sponsorblock for Youtube
Cyberghost VPN
Tampermonkey
Tineye
Unshorten.it
Volume Control for Google Chrome
WebRTC Leak Shield

Screenshot(s)

Screenshot(s)

civitai

Configuration

uBlock Origin: 1.55.0
Chromium: 120
filterset (summary):
 network: 242987
 cosmetic: 183181
 scriptlet: 42225
 html: 0
listset (total-discarded, last-updated):
 removed:
  user-filters: null
  plowe-0: null
 added:
  https://filters.adtidy.org/extension/ublock/filters/14.txt: 76801-127, now
  https://malware-filter.gitlab.io/pup-filter/pup-filter.txt: 189-0, now
  adguard-generic: 81847-506, now
  adguard-mobile: 9092-65, now
  adguard-social: 22470-938, now
  adguard-spyware-url: 1424-5, now
  curben-phishing: 86563-20, now
  dpollock-0: 11632-81, now
 default:
  DEU-0: 7297-6, now
  easylist: 79802-2073, now
  easyprivacy: 43563-336, 1h.32m Δ
  ublock-badware: 7791-330, 1h.32m Δ
  ublock-filters: 36681-3860, 1h.32m Δ
  ublock-privacy: 992-104, 1h.32m Δ
  ublock-quick-fixes: 130-6, 1h.32m Δ
  ublock-unbreak: 2192-103, 1h.32m Δ
  urlhaus-1: 8745-0, now
filterset (user): [array of 103 redacted]
trustedset:
 added: [array of 31 redacted]
 removed:
  chrome-extension-scheme
  edge-scheme
switchRuleset:
 added: [array of 16 redacted]
hostRuleset:
 added: [array of 9 redacted]
userSettings:
 advancedUserEnabled: true
 webrtcIPAddressHidden: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 390 ms (selfie)
 maxAssetCacheWait: 315 ms
 cacheBackend: browser.storage.local
popupPanel:
 blocked: 19
 network:
  civitai.com: 1
  cloudflareinsights.com: 1
  doubleclick.net: 2
  google.com: 2
  googlesyndication.com: 1
  instagram.com: 9
  magsrv.com: 1
  youtube.com: 2
 extended:
  ##+js(set-constant, rwt, noopFunc)
@D4niloMR D4niloMR changed the title Civitai.com suddenly detects uBlock Origin civitai.com: detection Jan 25, 2024
@huyszn
Copy link
Contributor

huyszn commented Jan 25, 2024

I used civitai.com##+js(no-fetch-if, googlesyndication) to hide the banners but the placeholders and the Become a supporter to turn off ads today. box when you scroll down on https://civitai.com/models still remain.

There are also ad placeholder boxes when you scroll down on https://civitai.com/images

@gorhill
Copy link
Member

gorhill commented Jan 26, 2024

I can reproduce, @huyszn's civitai.com##+js(no-fetch-if, googlesyndication) works.

@mapx- mapx- closed this as completed in 819d07a Jan 26, 2024
@Symbiomatrix

This comment was marked as resolved.

huyszn added a commit that referenced this issue Jan 28, 2024
@stephenhawk8054
Copy link
Member

stephenhawk8054 commented Jan 28, 2024

civitai.com##.mantine-Paper-root:has(a:has-text(Remove ads))

hides the whole page in https://civitai.com/images/5742499


I think we don't need to hide all Remove ads section. It's more like self-promotion link

stephenhawk8054 added a commit that referenced this issue Jan 28, 2024
stephenhawk8054 added a commit that referenced this issue Jan 28, 2024
@huyszn
Copy link
Contributor

huyszn commented Jan 28, 2024

@stephenhawk8054 Should the boxes on https://civitai.com/models when scrolling down that say Become a supporter to turn off ads today. be hidden or is it self-promo? I used this filter to remove them.

civitai.com##.mantine-Paper-root:has(> .mantine-Stack-root:has(.mantine-Text-root:has-text(Become a supporter)))

@stephenhawk8054
Copy link
Member

@huyszn The filter is not really efficient (2 nested has with has-text inside), so I think we should not hide them

@gorhill
Copy link
Member

gorhill commented Jan 28, 2024

I think this one would be ok:

civitai.com##.mantine-Paper-root > .mantine-Stack-root:has-text(Become a supporter):upward(.mantine-Paper-root)

There are only ~15 matching elements for :has-text() to process, rather than (114x6x7) with the :has() based one.

@huyszn
Copy link
Contributor

huyszn commented Jan 28, 2024

I noticed that posts on https://civitai.com/posts do not load when the filter civitai.com##.mantine-Paper-root:empty is enabled.

D4niloMR added a commit that referenced this issue Jan 28, 2024
@D4niloMR
Copy link
Contributor

Still have PH on the main page, maybe

civitai.com##div[style^="width: "] > .mantine-Paper-root[style^="margin: "]

@huyszn
Copy link
Contributor

huyszn commented Jan 29, 2024

There is also a PH on model pages like https://civitai.com/models/260267/animagine-xl-v3 between the Discussion and the Gallery section.

@D4niloMR D4niloMR mentioned this issue Feb 5, 2024
9 tasks
@D4niloMR D4niloMR reopened this Feb 5, 2024
@nl255
Copy link

nl255 commented Feb 5, 2024

It is now an image which means matching text won't work. The key seems to be ##div.mantine-[random 6 character string].mantine-Paper-root and possibly div.mantine-[random 6 character string].mantine-Paper-root:nth-of-type(1).
The best I could get is with ||civitai.com/_next/image?url=%2Fimages%2Fsupport-us which while it doesn't replace the PH it does remove the image and replace it with an empty box.

huyszn added a commit that referenced this issue Feb 5, 2024
D4niloMR added a commit that referenced this issue Feb 5, 2024
@D4niloMR D4niloMR closed this as completed Feb 5, 2024
D4niloMR added a commit that referenced this issue Sep 1, 2024
huyszn added a commit that referenced this issue Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants