Prepare yourself for the grim, dark future of the 41st millennium, where you’ll command the elite chapter of the Blood Ravens in an original epic tale of treason and conspiracy as you serve the Emperor and protect humanity from the scourges of the Warhammer 40,000 universe. Personalize your armies with a revolutionary unit customization tool that gives you the ability to choose your armies’ insignias, banners, squad colors, and names.

Note: This version of Warhammer 40,000: Dawn of War is single-player only. Online multiplayer mode is not supported.

  • SatyrSack@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    20 days ago

    Not sure where to really post this, so I will just try in this thread. I came up with a custom uBlock Origin filter to remove all the games for certain stores (Epic, Prime Gaming, etc.) from the free games page on Amazon so you can focus on only the stores you actually care about (GOG, etc.). Just remove the line for each store that you do want to see. But it looks like it is likely not dynamic enough to apply to potential future updates to the webpage. Is anyone here familiar with uBock filter syntax and able to assist?

    In English, the logic here is basically:

    1. Find the free games tab by id
    2. Navigate six child div tags down
    3. Find child a tag with a data-a-target value of learn-more-card and href containing the target string
    4. Block the fourth parent div tag of that a tag
    filter
    ! Amazon Gaming - GOG
    gaming.amazon.com###offer-section-FGWP_FULL > div > div > div > div > div > div > a[data-a-target='learn-more-card'][href*='-gog/']:upward(div):upward(div):upward(div):upward(div)
    ! Amazon Gaming - Prime
    gaming.amazon.com###offer-section-FGWP_FULL > div > div > div > div > div > div > a[data-a-target='learn-more-card'][href*='-aga/']:upward(div):upward(div):upward(div):upward(div)
    ! Amazon Gaming - Epic
    gaming.amazon.com###offer-section-FGWP_FULL > div > div > div > div > div > div > a[data-a-target='learn-more-card'][href*='-epic/']:upward(div):upward(div):upward(div):upward(div)
    ! Amazon Gaming - Legacy
    gaming.amazon.com###offer-section-FGWP_FULL > div > div > div > div > div > div > a[data-a-target='learn-more-card'][href*='-legacy/']:upward(div):upward(div):upward(div):upward(div)
    ! Amazon Gaming - Luna
    gaming.amazon.com###offer-section-FGWP_FULL > div > div > div > div > div > div > a[data-a-target='learn-more-card'][href*='//luna.']:upward(div):upward(div):upward(div):upward(div)
    
    Relevant HTML
    <div id="offer-section-FGWP_FULL" data-a-target="offer-section-FGWP_FULL" class="offer-list__content tw-md-mg-b-4 tw-mg-b-3">
        <div data-a-target="offer-list-FGWP_FULL" class="tw-md-pd-x-10 tw-mg-b-4 tw-pd-x-3 tw-sm-pd-x-6 tw-xxl-pd-x-10">
            <div class="offer-list__content__grid">
                <div class="tw-block" vc0zxivtr="" ex22dn0ao="">
                    <div>
                        <div data-a-target="tw-animation-target" class="tw-animation tw-animation--animate tw-animation--duration-short tw-animation--fade-in tw-animation--fill-mode-both tw-animation--timing-ease-in">
                            <div class="item-card__action">
                                <a aria-label="Disney•Pixar WALL-E"
                                    class="tw-interactive tw-block tw-full-width tw-interactable tw-interactable--alpha"
                                    data-a-target="learn-more-card"
                                    href="/disney-pixar-wall-e-aga/dp/[redacted by SatyrSack]">
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>