See @description in the Source Code.
DeAnnoy Quora [papo] by papo
Details
Authorpapo
LicenseCC BY-NC-SA 4.0
Categoryquora
Created
Updated
Code size2.7 kB
Code checksum98883864
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name DeAnnoy Quora [papo]
@namespace github.com/paponius/userstyles
@version 1.1.0
@description [m] Hide not real answers. And other annoying stuff. Notes and feedback: https://github.com/paponius/userstyles/ 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 HideBot "Hide bot answer" 1
@var checkbox HideRelated "Hide related question answers (usually wrong)" 1
@var checkbox HideSimilar "Hide similar question answers (are often helpful)" 0
@var checkbox HideRelatedGroup 'Hide "Related Questions" more-ons in-between other questions' 0
@var checkbox HideRelatedBottom 'Hide "Related Questions" more-on on bottom' 0
@var checkbox HideRelatedSide 'Hide "Related Questions" more-on sidebar' 0
@var select xxx 'to keep, but color-style these answer categories, get my "Dark Quora [papo]" UserStyle. https://userstyles.world/style/20880/dark-quora-papo' {
'You need to copy the text on the left with a mouse, right click and choose open in tab. This is not a setting.': 0
}
==/UserStyle== */
/* tpl: 1.2.3 25-01 */
@-moz-document domain("quora.com") {
& when (@UnstickHeader = 1) {
/* web */
.q-fixed,
/* [m] */
.q-sticky {
position: absolute !important;
}
}
/* web */
#mainContent,
/* [m] */
.puppeteer_test_question_main:not(:has(#mainContent)) {
div.q-box[class*="dom_annotate_question_answer_item_"] {
/* has: "Originally Answered:", so it's not real answer, but might be OK */
&:has(.spacing_log_originally_answered_banner) when (@HideSimilar = 1) {
display: none;
}
/* "Related" answer, often not OK */
&: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;
}
}
> div:not([class]) {
/* "Related Questions" more-ons */
> div.q-box:not([class*="dom_annotate_question_answer_item_"]) when (@HideRelatedGroup = 1) {
/* ~ div:has(div > a > div > div > div > div) { */
display: none;
/* } */
}
~ div:has(> .dom_annotate_related_questions) when (@HideRelatedBottom = 1) {
display: none;
}
}
~ div .dom_annotate_related_questions when (@HideRelatedSide = 1) {
display: none;
}
}
}