Skip to content

Prime Gaming hide claimed games - gaming.amazon.com by pabli

Prime Gaming hide claimed games - gaming.amazon.com screenshot

Details

Authorpabli

LicenseMIT

Created

Updated

Categoryamazon

Statistics

Learn how we calculate statistics in the FAQ.

Total views

Total installs

Weekly installs

Weekly updates

Description

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Prime Gaming hide claimed games
@namespace    https://github.com/pabli24
@version      1.0.0
@description  Hide: collected games, unnecessary sections, games you will never collect 
@author       Pabli (https://github.com/pabli24)
@homepageURL  https://userstyles.world/style/9719/prime-gaming-hide-claimed-games
@supportURL   https://userstyles.world/style/9719/prime-gaming-hide-claimed-games
@license      MIT
@preprocessor stylus
@var          checkbox cl "Hide Claimed Games"        1
@var          checkbox sc "Hide Unnecessary Sections" 1
@var          text     g  "Hide Games:"               "'GameName1, GameName2'"
==/UserStyle== */

@-moz-document domain("gaming.amazon.com")
	
	if cl
		.offer-list__content__grid > .tw-block:has(.tw-c-text-alert-success)
			display none !important

	if sc
		.home > .tw-flex > .tw-placeholder-wrapper
		.prime-root-minimal__alert__container
		.featured-content-banner
		.featured-content-shoveler
		.featured-content
		[data-a-target="offer-section-TOP_PICKS"]
		[data-a-target="offer-section-FGWP"]
		[data-a-target="offer-section-EXPIRING"]
		.event-container
		.tw-placeholder-wrapper
		.offer-list__content .swiper-button
			display none !important

	if g
		g = split(',', replace('^\s+|\s+(?=,)|(?<=,)\s+|\s+$', '', g))
		t = ''
		for n in g
			t += '[title="'+ n +'" i],'
		.offer-list__content__grid > .tw-block:has(:is({t}))
			display none !important

Reviews

No reviews yet.