OsaSoft / youtube-better-subscriptions

This extension for Firefox and Chrome aims to make navigating YouTube's subscription grid easier by allowing users to hide watched videos
GNU General Public License v3.0
116 stars 19 forks source link

Converted codebase to typescript and background page/worker #174

Open mocanew opened 8 months ago

mocanew commented 8 months ago

Fixes #108, #172

Using a background page/worker boosts perceived performance a lot compared to the current way of interacting with sync storage (all actions are now instant).

Improved perceived extension load speed when first opening YouTube: buttons are added as soon as possible rather than checking for page elements.


The extension now needs two zip files, one for firefox and one for chrome, due to manifest v2 and v3 incompatibilities (background script vs service worker - firefox doesn't yet support service workers).


In order for Reviewdog to post comments with PR's linting errors, REVIEWDOG_TOKEN secret needs to be set. To get the token:

  1. Install (authorize) https://github.com/apps/reviewdog for this repo
  2. Log in to https://reviewdog.app/
  3. Get token from https://reviewdog.app/gh/OsaSoft/youtube-better-subscriptions
  4. Set REVIEWDOG_TOKEN in github repo's secrets
mocanew commented 8 months ago

@OsaSoft this PR is ready, have a look at it when you have some free time.