Skip to content

Automatic Reader Mode: TIAISB by Diaz

Details

AuthorDiaz

LicenseMIT

Categoryglobal

Created

Updated

Size4.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

TIAISB: The Internet As It Should Be. Automatically removes distracting elements from all webpages automatically, with whitelisting available.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Automatic Reader Mode: TIAISB
@version      20241111.00.55
@namespace    https://userstyles.world/user/Diaz
@description  TIAISB: The Internet As It Should Be. Automatically removes distracting elements from all webpages automatically, with whitelisting available.
@author       Diaz
@license      MIT
==/UserStyle== */

@-moz-document regexp("*") {
*:is(
    [id*=footer], [class*=Footer], [class*=footer], [class*=image], [class*=thumbnail], [class*=gravatar],
    
    nav, [class*=nav], [class*=share], [class*=social], [class*=carousel], [class*=Carousel], [class*=CAROUSEL],
    [class*=popular], [class*=banner], [class*=ad-row], [class*=loyalty], [class*=vote],
    
    address, [class*=feedback], [class*=autocomplete], [class*=author],[class*=login],
    [class*=logo], [class*=article-options], [class*=reviews], [class*=seo], [class*=placement],
    
    [id*=placement], aside, [class*=related], [class*=complementary], [class*=breadcrumb], [class*=embed],
    [id*=billboard], [class*=recommended], figure, .flash

    [class*=gpt], [class*=Author], [class*=Conclusion], [class*=Helpful], [class*=Series], [class*=Comment], [class*=License],
    svg[class*=logo], [class*=Tabs], [class*=callout], [class*=recommendation], [class*=caption], [class*=no-print]
    
    [class*=table-content]:not(:has(main)),
    *:is([class*=Sidebar], [class*=sidebar], [id*=sidebar]):not(:has(main)),
    
    *:is([role=banner]):not(:has([class*=search])),
    *:is(header, [class*=Header], [id*=header], [class*=header]):not(:has(h1, [class*=search]), [class*=title]),
    
    [class*=Copyright], [class*=related], [id*=menu], [class*=cabecera], [class*=ancla], [id*=banniere], [class*=banniere],
    [class*=inread], [class*=pub_pave], [class*=deeplink], [class*=with-ad], [class*=comments], [class*=ad-out],
    [class*=desvio], [class*=video], [class*=external], [class*=tags], [id*=hot], [id*=feed], *:has(> iframe),
    [class*=sticky],[class*=meta],[href*=author], :has(> [href*=author]),[class*=tags],[class*=disclosure],
    :has(> [class*=ads]),[class*=crumb],[style*=background-image],[class*=article] [class*=modal]
):not(
    html, body, article, h1, [class*=Tuner], [class*=Primary], [role=contentinfo], [role=complementary],
    [class*=GridItem], #react-duckbar nav, [id*=titulo], [class*=titulo], [class*=hero], [class*=Intro],
    [id*=content], [class*=js-post], [class*=title], :has(> :is(h1,h2,h3)[class*=title]), [id*=repository], [aria-label=Repository],
    [aria-label=Global], [aria-label=Global] *, [class*=react-code], [id*=highlight], [id*=branch-picker], [role=main],[class*=repo-nav],[id$=tab], [class*=plan], [class*=site-header],[class*=meta][class*=entry],[class*=featured],[id*=header],
    *:has(> [class*=signup]), [class*=aside], [class*=ads], [id*=popup], [id*=popmake],[class*=banner], [class*=footer],[id*=post][id*=cta],
    [id*=blogform],[class^=try],[data-testid*=byline], :has([id*=duckbar]), :has(> [class*=content]), [id*=question], header[class*=entry],[id=main],
    :has(> article)
) {
    display: none!important;
    width: 0!important;
}


body header:has([class*=Logo]),
html:has([class*=blog], [class*=article], [class*=post]) :is(
    [class*=contact], [class*=likes], [class*=articles], [class*=cookies], [id*=cookies], [href*=campaign], [class*=loading],[id*=featured-image],             [class*=site-header],[id*=site-header],[data-testid*=byline], [class*=announcement], [class*=modal], [class*=Popover],
    [class*=header][class*=menu], aside, [data-testid*=related][data-testid*=stories],[href*=amazon],[href*=products]
),  
*:is([class*=img]):not(:has([class*=head], [class*=title])) {
    display: none!important;
}

*:is(footer, img, iframe, #player, [id*=article-sidebar], #masthead, [class*=related], [class*=latest]):not(html,body) {
    display: none!important;
}

/* Global Generic Rules Fixes */
.article-header-title {
    background: none!important;
    color: #222!important;
    padding-left: 0!important;
}

.site-inner {
    margin-top: 0!important;
}

/* Pandora.com */
.BackstageLayout__body {
    align-items: center!important;
}

.BackstageLayout__body__header {
    text-align: center!important;
}

.NowPlaying__belowFold {
    display: none!important;
}

/* Stackoverflow.com */
.user-info .user-gravatar32 ~ .user-details {
    margin-left: 0!important;
}
}

Reviews

No reviews yet.