Giter VIP home page Giter VIP logo

clear-space's Issues

Expand Clear-space functionality to block instagram reels

New Feature request

  • Clear Space is currently limited to optimise youtube.com only.
  • Add support for clear space to block reels from Instagram.

Steps to be taken

  • Add Instagram.com to host permissions and matches in manifest.json.
  • Modify scripts/background.js to send message to main.js when tab is switched to instagram reels domain
  • catch the message in scripts/main.js and block/redirect from reels by prompting the user.

dedicated static website on redirection from Youtube shorts

Description:

Currently, the Clear Space extension uses a third-party website (example.com) to redirect users away from YouTube Shorts.

The dedicated static website would be very simple. It would simply display a message to the user explaining that they have been redirected away from YouTube Shorts, and provide them with a link to continue to their original destination.

Tasks

  • Create a simple static website with a message explaining that the user has been redirected away from YouTube Shorts, and a link to continue to their original destination.

  • Update the Clear Space extension to redirect users to the dedicated static website instead of example.com.

Add support for Firefox browser to Clear Space

Clear Space is currently only available for the Chrome browser. adding support for the Firefox browser can benefit more users with Clear Space.

Here are some specific tasks that need to be completed to add Firefox support:

  • Update the Clear Space manifest file to include Firefox as a supported browser.
  • Implement the necessary changes to the Clear Space code to work with Firefox.

Subscriptions tab is removed from DOM, incorrectly assuming it as shorts tab.

Issue :

The extension's shorts tab removal feature is removing the subscriptions tab from the DOM each time when the page is reloaded.

Current Behaviour

Incorrect-Element-removed.png

Expected Behaviour

Expected-navigation-behaviour.png

Solution

  • In the scripts/main.js file, Add conditional checking to confirm that element will be shorts Tab from the Youtube DOM.
  • Specifying Aria-label / title to the navItems[1] will solve the bug.

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.