Skip to content

OnlyNews by cian

Screenshot of OnlyNews

Details

Authorcian

LicenseGNU GPLv3

Categorynews

Created

Updated

Size15 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

For removing clutter on news sites below:

aeon.co, psyche.co
aljazeera.com
dailythanthi.com, dtnext.in
dinamalar.com
economist.com
ft.com
hindutamil.in
indianexpress.com
livemint.com
outlookindia.com
openthemagazine.com
plato.stanford.edu
reuters.com
scroll.in
thehindu.com
thehindubusinessline.com
theprint.in
timesofindia.com
vikatan.com

Notes

mostly cosmetic filtering of clutter
On Hindu and livemint, some formatting done.

Removing clutter on ToI seems like a futile effort since they are baked into the site and the site's structure is messy.

recommend using the mobile version of (m.)timesofindia, dailythanthi, (m.)dinamalar and livemint.

--v.1.1--
a single change to the Hindu site for better mobile view

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Readable News
@namespace      github.com/openstyles/stylus
@version        1.1.0
@description    removes clutter, improves readability
@author         fugue
==/UserStyle== */
@-moz-document domain("aeon.co"),
domain("psyche.co") {
    div[class^="styled__Wrapper"],
    div[class^="SupportBar"],
    div[class^="DonateLinkOverlay__Link"],
    div[class^="NewsletterPopup"],
    div[class^="NewsletterSignup"],
    div[class^="Banner"],
    aside[data-cy^="layout-newsletter-signup"],
    footer[class^="styled__FooterWrapper"],
    div[class^="guides__SocialMetaWrapper"],
    div[class^="styled__SocialLinks"],
    div[class^="styled__Nav"],
    div[class^="styled__SecondaryLogo"],
    div[class^="styled__AeonLogo"],
    aside[class^="styled__Container"],
    div[class^="article__HideOnPrint-sc"],
    .NLFormInsertFromCMS,
    .footer {
        display: none!important;
    }
}
@-moz-document domain("aljazeera.com") {
    .more-on,
    .site-footer,
    .article-pre-footer,
    .social-share-buttons,
    .ensNotifyBannerContainer,
    .container--ads,
    .dianomi-container,
    [id="postup-article"] {
        display: none!important;
    }
}
@-moz-document domain("thehindubusinessline.com") {
    ul.aricle-share,
    .socialLindiv,
    .fixed-header,
    .taglist,
    .share-topic,
    .udmp-recommended,
    .companies-index-home,
    .groupsites,
    .groupsitesfooter,
    [id="you-may-like"],
    [id="piano-recommended"],
    [id="articleInline-nl"],
    strong,
    section[id="SpecialModule"],
    .offerCampaign,
    .articleExclusive {
        display: none!important;
    }
}
@-moz-document domain("economist.com") {
    .advert,
    [id="piano-ribbon"],
    .ds-masthead-nav-beta,
    .layout-article-promo,
    ._newsletter-promo-container,
    ._podcast-promo,
    .ds-share-list,
    .related-articles,
    [id="_evidon-barrier-wrapper"],
    footer {
        display: none!important;
    }
}
@-moz-document domain("dinamalar.com") {
    .prevNextPost,
    .sticky_social,
    .amp-ad-wrapper,
    .getsocial,
    .shortnews,
    .videomainWrapper,
    a.clsTele,
    .tickerwid,
    .sharethis-inline-share-buttons,
    #Ldshare,
    .container-fluid,
    [id="cdiv"],
    .clsCommentwidth,
    .quickslide,
    [id="izmiddle-box"],
    .asset-paging,
    [id="logic_comm"],
    [id="idcmajx"],
    [id="idcmcntajx"],
    [id="containercmns"],
    [id="selum"],
    [id="sidebar"],
    [id="seliosand"],
    [id="seecomments"],
    [id="rladvt"],
    [id="psubico"],
    [id^="div-gpt-ad"],
    [id="footerfix"],
    [id="footer_bar"],
    .em_bg,
    [id="colour-selector"],
    [id="selCinemasp"],
    [id="selInrightdet"],
    [id="selLinks"],
    [id="selFooter"],
    [id="selMenu1"],
    [id="selSpecial1"],
    [id="topic"],
    .clsFloatright,
    .tags,
    .clsNewCinema,
    .newsrtwd,
    .mrrt,
    .epapt,
    .clsNotes,
    .footwid,
    [href^="https://www.dinamalar.com/telegram/"],
    [href^="https://ipaper.dinamalar.com/"],
    [href="http://www.dinamalar.com/tariff/"],
    .clear10,
    .movies-ratings,
    .main-wrapper,
    iframe,
    .dmrsshareh,
    .comments,
    .mpost,
    .marquee,
    footer,
    .foot-news-container,
    .headerrow3,
    .top-hot-links,
    .right-box-container,
    [id="menscroll"],
    .article-meta {
        display: none!important;
    }
    p,
    [id="mvp-content-wrap"],
    .newsdetwd {
        margin-left: 7%!important;
        margin-right: 7%!important;
        width: 80%!important;
        text-align: left;
        padding: 0!important;
        color: #000000;
    }

    .moreimgg > img {
        margin-left: 7%!important;
        margin-right: 7%!important;
        width: 80%!important;
        padding: 0 0!important;
    }
}
@-moz-document domain("ft.com") {
    .n-notification,
    .n-messaging-slot,
    .n-feedback__container,
    .o-ads,
    .o-share,
    .o-header__anon,
    .article__content-sign-up,
    .article-grid .article-tools,
    .article-comment-count,
    .comments-container,
    .o-footer,
    .progress-indicator__container,
    .instant-alert-cta,
    .o-header--sticky,
    [id="myft"],
    .n-myft-ui,
    [id="community"] {
        display: none!important;
    }
}
@-moz-document domain("hindutamil.in") {
    div[class="_shareDiv"],
    .footer_policy,
    .Stickyads,
    .box-social,
    .box_weather,
    .sidebar-sticky,
    .sidebar-sticky--,
    .new_prevarrow,
    .new_nextarrow,
    .article-details-ads-inner,
    .dont-miss-it,
    .article-categories,
    .box-adv,
    .profile_div,
    .art-follow-title1,
    .article-bottom,
    form[name="frmReact"],
    div[id="nssubs"],
    div[id="hindu-comments"],
    h3,
    .sticky,
    .con-div-4 {
        display: none!important;
    }
}
@-moz-document domain("indianexpress.com") {
    .vernaculars-topbar,
    .rightpanel,
    .add-first,
    .rhs-banner-wrapn,
    .news-guard,
    .custom_read_button,
    .hide_utm_paytm_phonepe,
    .breaking-news,
    .pdsc-related-modify,
    .share-social,
    .o-taboola-homepage,
    [class^="adsbox"],
    [id="engagement-top"],
    [id="izmiddle-box"],
    nav[id="fixednavbar"],
    div[id="id_newsletter_subscription"],
    div[id="id_newsletter_subscription_popup"] {
        display: none!important;
    }

    .leftpanel {
        float: none;
        padding: 1% 10%;
        width: fit-content;
    }
}

@-moz-document domain("theprint.in") {
    .td-header-top-menu,
    .td-affix,
    .td-fix-index,
    mybot,
    .tdc-footer-wrap,
    .td-crumb-container,
    .td-post-sharing-top,
    a[target="_blank"],
    .single .td_block_bot_line,
    .td-js-loaded .td-scroll-up,
    .hindi_homepg,
    .vc_raw_html,
    em,
    hr,
    .post_contribute,
    .td-post-sharing-bottom,
    [id="view_comment"],
    [id="izmiddle-box"],
    vdo {
        display: none!important;
    }
}

@-moz-document domain("scroll.in") {
    .upsell-panel,
    .below-article-share-block,
    .article-recommended-list-container,
    .below-navigation-banner-wrapper,
    .scrollstrap-container,
    .meta-icons,
    .fixedsticky,
    .mail-us-section,
    .make-swipe-cards-on-mobile,
    .scroll-ad,
    .in-article-adx,
    footer {
        display: none!important;
    }
}

@-moz-document domain("plato.stanford.edu") {
    #article-sidebar,
    #content #message {
        display: none!important;
    }
    #content #aueditable {
        font-size: 20px;
        font-family: Georgia;
        line-height: 1.4;
    }
    #article {
        margin-left: 25px;
        display: block;
    }
}

@-moz-document domain("dailythanthi.com"),
domain("dtnext.in") {
    .Advt,
    .stick-mob,
    .ImgCover,
    .adsbygoogle,
    .SocialShares,
    .container-footer,
    .mostread,
    .RelatedNews,
    .img-tmb,
    .img-sec,
    .img-tempsize,
    .bottomFooter,
    .sitetour,
    .TagKeyword,
    .pull-right,
    [id="izmiddle-box"],
    #vuukle-emote,
    [id="dragItem"],
    [id="vuukle-comments"] {
        display: none!important;
    }
}

@-moz-document domain("thehindu.com"),
domain("www.thehindu.com") {
    @media only screen and (min-width: 767px) {
        .navbar,
        .socialize,
        .media-body,
        .aside,
        .also-view-container,
        .ad-ft,
        .outbrain-main-cont,
        .stickyfooterarticlealone,
        .editvalue,
        .trc_related_container,
        .tp-container-inner,
        .container-sticky #artmeterwrap,
        .shareicon-article,
        .back-top,
        [id="stickyCarouselHeight"],
        .carosuel-dispatches,
        footer {
            display: none!important;
        }

        .article-header-cont,
        .home {
            display: contents;
        }
        .author-container,
        .article-block-item {
            box-sizing: content-box;
            padding: 1% 10%;
            text-align: center;
            width: 80%;
            background-color: #FFF0;
            position: relative;
        }
        .lead-img-cont,
        .lead-img-cont img,
        .img-full-width,
        .lead-img-caption > p {
            margin-left: auto;
            margin-right: auto;
        }
        .article-block,
        .ipso-facto,
        .article::after,
        .artcl-social-media,
        .author-bottom,
        .morein-tag-cont,
        .outbrain-main-cont,
        .article h1,
        .article,
        .article-cont p,
        .article h2.intro,
        .article h2,
        .navbar {
            margin-left: 5%!important;
            margin-right: 5%!important;
            width: auto;
            background: #ffffff00;
            float: none;
        }
        .exit-point-container,
        .exit-point-container .e-p-slide-text::after,
        .exit-point-container:after,
        .related-artcl-cont:after,
        .morein-tag-cont .e-p-slide-text::after,
        .related-artcl-cont {
            background: none;
        }
    }
    @media only screen and (min-width: 1px) {
        .just-in-counter,
        .dfp-ad,
        .mod-top-add,
        .footerbg,
        p.editvalue,
        .outbrain-main-cont,
        .ad-ft,
        .nxt-prv-2-story-cont,
        .arutCommRight,
        .trc_related_container,
        .tp-container-inner {
            display: none!important;
        }
        .article h2,
        .article-cont p,
        .article p {
            padding: 1% 8%;
        }
    }
}
@-moz-document domain("vikatan.com") {
    div[class^="styles-m__ad-wrappers"],
    div[class^="styles-m__header-ad"],
    div[class^="styles-m__ad-center"],
    div[class^="styles-m__header-right"],
    div[cla...

Reviews

No reviews yet.