Features
- Shorts To Video Button - adds a button to the shorts page that allows you to watch the short as a standard video.
- Auto Loop Video - sets the loop property of the video after clicking the shorts to video button.
- Shorts UI Tweaks - some UI improvements for the shorts page, especially for vertical screens.
- Hide Sponsored Shorts - hides sponsored shorts from the shorts page.
- Hide Masthead Ads - hides the masthead ads on the homepage.
- Hide In-Feed Ads - hides in-feed ads (except for homepage, because it would break the layout).
- Hide Player Ads - hides player ads on the watch page.
- Auto Skip Ads - [deprecated] automatically skips ads when they appear on a video. You can use the uBlock Origin extension instead.
- Remove AdBlock error message - [deprecated] removes the error message that appears when an ad blocker is detected.
Installation
- Open the latest release and download the
youtube_extension_<VERSION>.zip
file.
- Unzip the downloaded file to a new directory.
- In Chrome, go to the
chrome://extensions/
page.
- Turn on the developer mode (top right corner).
- Click the
Load unpacked
button and select the unzipped directory.
- You can add the extension to the browser toolbar by clicking the
puzzle
icon in the top right corner and then clicking the pin
icon next to the extension name.
- Right-click the extension icon in the toolbar and select
Options
to open the options page. Enable or disable the features as you wish.
Local development
- Clone the repository to your local machine.
- Set git hooks by running the
npm run prepare
command.
- Install the dependencies using the
npm install
command.
- Build the project using the
npm run build
command.
- Open the Chrome browser and go to the
chrome://extensions/
page.
- Turn on the developer mode (top right corner).
- Click the
Load unpacked
button and select the dist
directory from the cloned repository.
- Build the project after making changes to the source code using the
npm run build
command.
- Reload the extension on the
chrome://extensions/
page to make sure every change is applied.