Skip to content

[OBSOLETE] Tumblr : Remove Shop Button by lensdeer

Mirrored from https://github.com/MarshDeer/tumblr-hide-shop/raw/main/tumblr-hide-shop.user.css

Screenshot of [OBSOLETE] Tumblr : Remove Shop Button

Details

Authorlensdeer

LicenseOQL (https://oql.avris.it/license/v1.1)

Categorytumblr

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

[OBSOLETE] Remove shop icon from Tumblr's header and related items from the account menu.

Notes

Report any issues to lensdeer.tumblr.com; I made this in 30 seconds so it probably breaks in some pages, but I'd be more than happy to update it if necessary

Source code

/* ==UserStyle==
@name         [OBSOLETE] Tumblr : Remove Shop Button
@version      1.7
@namespace    userstyles.world/user/lensdeer
@description  [OBSOLETE] Remove shop icon from Tumblr's header and related items from the account menu.
@author       lensdeer
@license      OQL (https://oql.avris.it/license/v1.1)
@supportURL   http://github.com/MarshDeer/tumblr-hide-shop/issues/new

@preprocessor stylus
@var checkbox hide-header 'Remove shop button from header' 1
@var checkbox hide-paypur 'Remove "Payment & Purchases" from the Account menu' 1
@var checkbox hide-gifts 'Remove "Gifts" from the Account menu' 1
@var checkbox hide-monetization 'Remove post monetization (blaze, tips) from post footer' 1
==/UserStyle== */

@-moz-document domain("tumblr.com") {
/* Remove shop button from header */
	if hide-header {
		.KTRcB:nth-child(3) {
			display:	none;
		}
	}

/* Remove Payment & Purchases from account menu */
	if hide-paypur {
		.IYrO9:nth-child(5) {
			display:	none;
		}
	}

/* Remove Gifts from account menu */
	if hide-gifts {
		.IYr09:nth-child(6) {
			display:	none;
		}
	}

/* Hide post monetization features from post footer */
	if hide-monetization {
		.m5KTc:nth-child(1) {
			display:	none;
		}
		.m5KTc:nth-last-child(2) {
			display:	flex;
		}
	}
}

Reviews

No reviews yet.