Giter Club home page Giter Club logo

1blocker-hide-elements's Introduction

1Blocker custom 'hide elements' rules

1Blocker is a content blocker that I use for Safari on MacOS and iOS. It has a feature that allows users to create custom rules that hide page elements based on CSS selectors. This repository contains the hide element rules I use to clean up a few popular websites.

To use them, open 1Blocker, click the "Custom" tab, then "CSS Hide Elements." Next, click "+ New Rule," name the rule, and paste in the list of css selectors. Finaly, turn off the option to "hide on all sites" and type in the corresponding root domain for the site.

Here's the before and after effect on YouTube. These combine the regular 1Blocker ad and content blocks as well as the custom rules I've added. Notably, no comments, no watch-next secondary suggestions, no YouTube movie suggestions, no subscribe or join buttons, and no thumb-up/down and share buttons. Just a clean, streamlined interface for watching content with no distractions.

Before content blocks:

before

After content blocks and custom rules:

after

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.