Removes duplicative "featured" content sections, and offers relating to specific games.
Hide cruft on Prime Gaming by joequincy
Details
Authorjoequincy
LicenseCC Zero
Categorygaming.amazon.com
Created
Updated
Size2.4 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Edit the list of games you want to filter out to your own preferences. The author's preferences are left in as demonstration.
Source code
/* ==UserStyle==
@name Hide cruft on Prime Gaming
@version 20230913.01.19
@namespace userstyles.world/user/joequincy
@description Removes duplicative "featured" content sections, and offers relating to specific games.
@author joequincy
@license CC Zero
==/UserStyle== */
@-moz-document url-prefix("https://gaming.amazon.com/home") {
/*
remove duplicative "featured" sections that just
put the same offers present later on the page into
awful sidescrolling bullshit that any web developer
should be ashamed of
*/
div.featured-content,
div[data-a-target="offer-section-RECOMMENDED"],
div[data-a-target="offer-section-TOP_PICKS"],
div[data-a-target="offer-section-EXPIRING"],
div[data-a-target="offer-section-FGWP"],
div[data-a-target="offer-section-LUNA"] {
display: none;
}
/*
remove cards for any games I just don't care about
*/
div[data-a-target="offer-list-IN_GAME_LOOT"]>div>div.tw-block:has(
/* For most of these, a ^= "starts with" match is fine */
a[aria-label^="Asphalt 9"],
a[aria-label^="Black Desert"],
a[aria-label^="Blankos"],
a[aria-label^="Brawlhalla"],
a[aria-label^="Company of Heroes"],
a[aria-label^="Dead by Daylight"],
a[aria-label^="Dead Island"],
a[aria-label*="Elder Scrolls Online"],
a[aria-label^="FIFA"],
a[aria-label^="Forspoken"],
a[aria-label^="Guild Wars"],
a[aria-label^="Hearthstone"],
a[aria-label^="Honkai"],
a[aria-label^="League of Legends"],
a[aria-label^="Legends of Runeterra"],
a[aria-label^="Lost Ark"],
a[aria-label^="Madden"],
a[aria-label^="Naraka"],
a[aria-label^="New World"],
a[aria-label^="Overwatch"],
a[aria-label^="Paladins"],
a[aria-label^="Phantasy Star"],
a[aria-label^="PlanetSide"],
a[aria-label^="Pokémon GO"],
a[aria-label^="PUBG"],
/* R6S has the Tom Clancy prefix but I don't know if it _always_ will so we're doing a *= "contains" match here */
a[aria-label*="Rainbow Six Siege"],
a[aria-label^="Roblox"],
a[aria-label^="RuneScape"],
a[aria-label^="SMITE"],
a[aria-label^="Star Trek: Timelines"],
a[aria-label^="Teamfight Tactics"],
a[aria-label^="Two Point Campus"],
a[aria-label^="VALORANT"],
a[aria-label^="Warframe"],
a[aria-label^="World of Tanks"],
a[aria-label^="World of Warships"]
) {
display: none!important;
}
}