Skip to content

DeAnnoy Quora [papo] by papo

Details

Authorpapo

LicenseCC BY-NC-SA 4.0

Categoryquora

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

See @description in the Source Code.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           DeAnnoy Quora [papo]
@namespace      github.com/paponius/userstyles
@version        1.0.0
@description    See @description in the Source Code.
@description2    Updated: 2025-09. Notes and feedback: https://github.com/paponius/userstyles/. Removed distracting and annoying elements, more responsive. See what it does in the UserStyle Options, or read @var descriptions on top of the code.
@author         Papo
@homepageURL    https://github.com/paponius/userstyles/
@supportURL     https://github.com/paponius/userstyles/
@license        CC BY-NC-SA 4.0
@preprocessor   less

@var checkbox UnstickHeader          "Unstick the header" 1
@var checkbox HideRelated            "HideRelated" 0
@var checkbox HideBot                "Hide bot" 1
@var checkbox HideRelatedGroup       "HideRelatedGroup" 0

==/UserStyle== */
/* tpl: 1.2.3 25-01 */
@-moz-document domain("quora.com") {


& when (@UnstickHeader = 1) {
	.q-fixed {
		position: absolute !important;
	}
}


#mainContent div.q-box[class*="dom_annotate_question_answer_item_"] {

	/* Related */
	&:has(.puppeteer_test_question_title) when (@HideRelated = 1) {
		display: none;
	}

	/* bot */
	/* only one "when" possible in LESS */
/* 	&:has(img[src*="multibot_app_icon"]) when (@HideBot = 1), */
	&:has(img[alt="Profile photo for Assistant"]) when (@HideBot = 1) {
		display: none;
	}
}

#mainContent {
	[class*="dom_annotate_question_answer_item_"] when (@HideRelatedGroup = 1) {
		~ div:has(div > a > div > div > div > div) {
			display: none;
		}
	}
}
.dom_annotate_related_questions:not(.salt) when (@HideRelatedGroup = 1) {
	display: none;
}


}

Reviews

No reviews yet.