Ads by Muslim Ad Network

Announcement

Collapse
No announcement yet.

YouTube filters

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • YouTube filters

    Assalamu Alaikum,

    If you browse or let your kids browse YouTube, this guide will help you avoid those filthy YouTube Recommended videos on the site. Desktop works best out of all the other options.

    Blocking in Desktop

    To block YouTube suggestions in desktop:
    • Download uBlock Origin extension for your browser
    • Right-click the newly added uBlock icon on the top right (in Chrome and Firefox)
    • Go to 'My Filters' tab
    • Add the filters listed below to the text box below
    • Click 'Apply Changes'
    Code:
    youtube.com##:xpath(//span[text()='Recommended videos for you']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended videos for you']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended channel for you']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended channel for you']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live Recommendations']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Live Recommendations']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//yt-formatted-string[text()='Nonstop playlists based on a song or artist']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Movies - Topic']/ancestor::li)
    youtube.com##:xpath(//a[text()='Movies - Topic']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Continue watching']/ancestor::li)
    youtube.com##:xpath(//span[text()='Continue watching']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended']/ancestor::li)
    youtube.com##:xpath(//span[text()='Recommended']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended videos']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended videos']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended channel']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//a[text()='Music']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//span[text()='Watch It Again']/ancestor::li)
    youtube.com##:xpath(//span[text()='Watch It Again']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live recommendations']/ancestor::li)
    youtube.com##:xpath(//span[text()='Live recommendations']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live Gaming for You']/ancestor::li)
    youtube.com##:xpath(//span[text()='Live Gaming for You']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Gaming for You']/ancestor::li)
    youtube.com##:xpath(//span[text()='Gaming for You']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Latest YouTube posts']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//span[text()='Trending']/ancestor::ytd-guide-entry-renderer)
    youtube.com##:xpath(//span[text()='Trending']/ancestor::ytd-shelf-renderer)
    youtube.com###trending-guide-item
    youtube.com##:xpath(//span[text()='Trending']/ancestor::a)
    www.youtube.com###watch7-sidebar-modules
    www.youtube.com###related
    www.youtube.com##.ytp-show-tiles.videowall-endscreen.ytp-player-content.html5-endscreen
    This will block almost all recommended suggestions which are often very inappropriate.


    Blocking in Android

    It is not possible to filter with the official YouTube app.

    However, if you have Android use NewPipe.
    • Download the latest NewPipe apk
    • Go to 'Appearance ' in the app settings
    • Turn off 'Show 'Next' and 'Similar' videos'
    • Go to 'Content'
    • Swipe away the 'Trending' option
    • Its a third party app, so not as feature rich as the official one, but gets the job done without any inappropriate suggestions.


    NOTE: I will be improving this overtime, insha Allah.

    And remember the best filter is your heart.
    Last edited by notEVOLVED; 02-04-19, 03:30 PM.

  • #2
    Originally posted by notEVOLVED View Post
    Assalamu Alaikum.

    If you browse or let your kids browse YouTube in desktop, download uBlock Origin extension. Then add these filters to uBlock 'My filters' setting:


    Code:
    youtube.com##:xpath(//span[text()='Recommended videos for you']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended videos for you']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended channel for you']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended channel for you']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live Recommendations']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Live Recommendations']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//yt-formatted-string[text()='Nonstop playlists based on a song or artist']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Movies - Topic']/ancestor::li)
    youtube.com##:xpath(//a[text()='Movies - Topic']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Continue watching']/ancestor::li)
    youtube.com##:xpath(//span[text()='Continue watching']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended']/ancestor::li)
    youtube.com##:xpath(//span[text()='Recommended']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Recommended videos']/ancestor::li)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended videos']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//yt-formatted-string[text()='Recommended channel']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//a[text()='Music']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//span[text()='Watch It Again']/ancestor::li)
    youtube.com##:xpath(//span[text()='Watch It Again']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live recommendations']/ancestor::li)
    youtube.com##:xpath(//span[text()='Live recommendations']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Live Gaming for You']/ancestor::li)
    youtube.com##:xpath(//span[text()='Live Gaming for You']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Gaming for You']/ancestor::li)
    youtube.com##:xpath(//span[text()='Gaming for You']/ancestor::ytd-item-section-renderer)
    youtube.com##:xpath(//span[text()='Latest YouTube posts']/ancestor::ytd-shelf-renderer)
    youtube.com##:xpath(//span[text()='Trending']/ancestor::ytd-guide-entry-renderer)
    youtube.com##:xpath(//span[text()='Trending']/ancestor::ytd-shelf-renderer)
    youtube.com###trending-guide-item
    youtube.com##:xpath(//span[text()='Trending']/ancestor::a)
    www.youtube.com###watch7-sidebar-modules
    www.youtube.com###related
    www.youtube.com##.ytp-show-tiles.videowall-endscreen.ytp-player-content.html5-endscreen
    It will block all the recommended stuff that are often very inappropriate.

    And remember the best filter is your heart.

    Jazak Allahu Khair
    This is for a browser ?
    ​​​​​​
    Any way to filter YouTube apps on tablets, phones ?
    http://www.ilovepalestine.com/campai...imesinGaza.gif

    "It does not befit the lion to answer the dogs."

    – Imam al-Shafi’i (Rahimahullah)

    Comment


    • #3
      Originally posted by Saif-Uddin View Post

      This is for a browser ?
      ​​​​​​
      Any way to filter YouTube apps on tablets, phones ?
      Yes, for any browser that supports uBlock extension.

      It is not possible to filter with the official YouTube app.
      However, if you have Android use NewPipe. You will have to download the APK from
      https://www.apkmirror.com/apk/thescr...-16-1-release/
      Use 'Appearance ' in the app settings to hide Suggestions and tabs such as Trending.
      Its a third party app, so not as feature rich as the official one, but gets the job done.

      Comment


      • #4
        Link for NewPipe APK download

        https://github.com/TeamNewPipe/NewPipe/releases

        Comment


        • #5
          .
          Last edited by notEVOLVED; 02-04-19, 03:30 PM.

          Comment


          • #6
            Originally posted by notEVOLVED View Post

            Yes, for any browser that supports uBlock extension.

            It is not possible to filter with the official YouTube app.
            However, if you have Android use NewPipe. You will have to download the APK from
            https://www.apkmirror.com/apk/thescr...-16-1-release/
            Use 'Appearance ' in the app settings to hide Suggestions and tabs such as Trending.
            Its a third party app, so not as feature rich as the official one, but gets the job done.
            Does it keep subscribed channels and allow favourites?

            What about blocking ads?
            http://www.ilovepalestine.com/campai...imesinGaza.gif

            "It does not befit the lion to answer the dogs."

            – Imam al-Shafi’i (Rahimahullah)

            Comment


            • #7
              Originally posted by Saif-Uddin View Post

              Does it keep subscribed channels and allow favourites?

              What about blocking ads?
              Don't tell me you believe YouTube is halal.
              You think you know more than my scholar's qiyās? He was more learned than you and all other scholars combined. Yeah, the devil was the greatest scholar too and look where his qiyās of fire being better than tīn got him. Sorry.

              You follow your scholar's qiyās, and I will follow the Qur'ān and Sunnah.

              Comment


              • #8
                Originally posted by Saif-Uddin View Post

                Does it keep subscribed channels and allow favourites?

                What about blocking ads?
                It blocks ad.

                Subscriptions need to be imported by downloading a file. Or manually subscribed through the app

                If by favourites, you mean Playlist, yes it is possible to add to Playlist.

                Comment


                • #9
                  *Crickets*

                  Comment


                  • #10
                    Well, I hope it helped someone from Fitnah.

                    Comment


                    • #11
                      If any mod generous enough, then please change the title to:

                      Blocking inappropriate content on YouTube

                      Comment


                      • #12
                        This thread is so lonely
                        Posting to myself only

                        What a waste of time
                        Nobody gives a dime
                        Whether or not you rhyme
                        But it's not a crime
                        So I shall chime
                        With a post everytime

                        Comment


                        • #13
                          So no one uses YouTube?

                          Hmm, interesting.

                          Comment


                          • #14
                            This is very useful OP Jazakallah Khayr
                            :shahadah:

                            Comment


                            • #15
                              Originally posted by DreamSleep View Post
                              This is very useful OP Jazakallah Khayr
                              Finally!
                              ​​​​​
                              ​​​​​​Please share this with your friends. Save them from Fitnah.

                              Jazak Allahu Khairan

                              Comment

                              Working...
                              X