From 8b65668e1fbb09d69c3e68c5b9f0b838ebea84f7 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Mon, 27 Apr 2020 00:37:52 +0200 Subject: [PATCH] Attempt at syntax distillation --- AntiAmazonListForTwitch.txt | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/AntiAmazonListForTwitch.txt b/AntiAmazonListForTwitch.txt index e4c751352..a28ca61f4 100644 --- a/AntiAmazonListForTwitch.txt +++ b/AntiAmazonListForTwitch.txt @@ -1,15 +1,16 @@ [Adblock Plus 3.4] ! Title: 📭 Anti-Amazon List for Twitch -! Version: 02March2019v1-Beta +! Version: 27April2019v1-Beta ! Expires: 2 days ! Description: Are you tired of having to look at all the buttons and links with which Amazon promote their account and payment services while you're watching a good stream (i.e. Vinesauce)? Now you won't have look at all those buttons anymore! ! Motivation: As someone who lives in Norway, which is not an Amazon core country, I became increasingly annoyed at how they hid away shipping fees from me, and even more annoyed when they barred third-party sellers from shipping abroad. Thus I deleted my Amazon account in protest, and to this day I refuse to make a new one. ! To remove non-Amazon annoyances and to make better use of the chat space, check out "Twitch: Pure Viewing Experience" (https://raw.githubusercontent.com/DandelionSprout/adfilt/master/TwitchPureViewingExperience.txt). ! For more information, details, helpful tools, and other lists that I've made, visit https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#english -twitch.tv##[data-a-target="prime-offers-icon"] -twitch.tv##[data-a-target="try-prime-link"] -twitch.tv##[data-a-target*="get-bits-button"] -twitch.tv##[data-a-target="bits-button"] +!#if !env_mobile +twitch.tv##[data-a-target=prime-offers-icon] +twitch.tv##[data-a-target=try-prime-link] +twitch.tv##[data-a-target*=get-bits-button] +twitch.tv##[data-a-target=bits-button] twitch.tv##.prime-offers__pill twitch.tv#?#div.tw-mg-b-2:-abp-has(div[data-test-selector="prime-sub-upsell"]) twitch.tv#?#.extension-taskbar-card-container:-abp-has(img[src*=".ext-twitch.tv/"][src*="/internal/taskbar-icon/"][src$="/636647020003385346.png"]) @@ -18,7 +19,8 @@ twitch.tv#?#.extension-taskbar-card-container:-abp-contains(V1) twitch.tv#?#.extension-taskbar-card-container:-abp-contains(C1) twitch.tv#?#.blue-bar__bar:-abp-contains(Twitch Prime) twitch.tv#?#.tw-transition:-abp-has(.tw-tooltip:-abp-contains(Loot Reminder)) -twitch.tv#?#.chat-line__message:-abp-contains(you can link your Twitch account to your active Amazon Prime subscription) -twitch.tv#?#.vod-message:-abp-contains(you can link your Twitch account to your active Amazon Prime subscription) -twitch.tv#?#.chat-line__message:-abp-contains(/With Amazon prime you can subscribe for FREE/i) -twitch.tv#?#.vod-message:-abp-contains(/With Amazon prime you can subscribe for FREE/i) +twitch.tv#?#.chat-line__message,.vod-message:-abp-contains(you can link your Twitch account to your active Amazon Prime subscription) +twitch.tv#?#.chat-line__message,.vod-message:-abp-contains(/With Amazon prime you can subscribe for FREE/i) +!#endif +m.twitch.tv##.tw-c-background-base > li:-abp-contains(you can link your Twitch account to your active Amazon Prime subscription) +m.twitch.tv##.tw-c-background-base > li:-abp-contains(/With Amazon prime you can subscribe for FREE/i)