this post was submitted on 08 Oct 2023
600 points (94.2% liked)

Technology

34982 readers
169 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Gestrid@lemmy.ca 1 points 1 year ago (1 children)

Any idea how to block ads in the Twitter Android app? Or, rather, which sites to block? I'm using AdGuard to block ads on all apps, but it doesn't seem to affect the Twitter app. Either the Twitter app runs ads differently or the ads aren't part of any of the blocklists.

[–] gornar@lemmy.world 2 points 1 year ago (1 children)

The twitter ones are really hard, because I think they're interstitial with the actual twitter content. I haven't used the platform in ages, either, but I think they come form the same domain as the rest of the content.

To see if that's the case, you could close everything, use the app and wait until you get an ad, then check the logs of your ad blocker to see what domains sre being hit. Pick a suspicious one, block it, and try to load the content. You'll break something almost guaranteed, but it's easy to just unblock the domain afterwards

I'm not too sure how adguard works, I've never tried it, but I think it worked on the same concept as pihole etc, by blocking domains. As long as there's a log file, you should be able to fiddle and see if you can block just that ad domain.

Someone with more direct experience will likely have more to say on the matter, of course. This is just the technique I used to block ads on my city's parking app - which I have to put up with AFTER I pay for parking! Heh

[–] Gestrid@lemmy.ca 1 points 1 year ago

Looks like you may be right. Most requests came from api.twitter.com (and variations of that, such as api-33-0-0.twitter.com). The only different one was from global.albtls.t.co, and it was already blocked thanks to Peter Lowe's Blocklist.