Skip to content

Latest commit

 

History

History
154 lines (125 loc) · 13 KB

README.md

File metadata and controls

154 lines (125 loc) · 13 KB


YT Nonstop

pronounced you-tube nonstop (/yo͞o t(y)o͞ob nónstäp/) — you decide what YouTube has to do.

Get YT Nonstop for Microsoft Edge Get YT Nonstop for Firefox

An extension to let YouTube run nonstop with autoplay, autoconfirm and automatic pressing the loopbutton.


Philosophy

This extension has 3 tasks:

  1. It automatically clicks on "Continue Watching?" if Youtube asks you the annoying question "Are you still there?"
  2. In the popup menu of this extension you have 2 extra options:
    1. to disable/enable Youtube autoplay. This is to avoid that Youtube automatically plays the next video after your video ends.
    2. and to loop playlists So Youtube will not automatically go outside the playlist if it ends
    3. enable the functionality that will click on the 18+ message if you are in a playlist AND also enabled loop playlists functionality.

Explanation Github folders

Folder 1.5.5_OLD VERSION

This is an older version of my extension. But the autoplay function doesn't work anymore, because YouTube changed their site.

The following files need do be changed:

This folder contains the newest version of my extension with manifest version 2, which is now deprecated.
The code is the same as the one in the manifest_v3 folder, except the necessary differences. If you are using Firefox you can use the code in this folder.
And the code in this folder will be published to the Firefox Add-ons.

There, you can found the newest version of my extension, which now has manifest version 3. This is also the version that will be published to the Edge Store.
Everey issue you report (via the newest version template) will be changed here.

Need help!

If you see something wrong or incorrect start an issue and let me know what I should change.

Documentation

There are two ways to customize the options of the extension

Option 1 Option 2 (advanced)
When you are in the tab where YouTube is playing:
just click on the extension icon
So this opens the popup
When the YouTube tab isn't active:
right click on the extension icon
So this opens a new tab
afbeelding afbeelding

As you can see it has the same lay-out.

Other points of attention:

  • In Firefox you need to go to about:addons and then click options as advanced option when YouTube is not active. The right click on the extension icon to open a new page only works in Chromium based browsers.
  • The changes made in the (popup) window are carried over into the other (popup) window: they are connected.
  • Attention! You cannot change your preferences per tab: your preferences affect your entire internet session and will be remembered for the next time.
  • The functionality to click on 18+ warnings will be disabled at installation time. If the function is enabled, you will see a green circle and a red warning icon. If disabled you will see a red circle and blue warning icon. (See the printscreen below Option 2 (advanced) above)
  • Also note that although this extension works for every language, this is partly not the case in YouTube Music. To make a playlist loop in YouTube Music a language-based element is needed. Thus, it will only loop a playlist if the language of YouTube is set to English, German, French, Dutch, Spanish or Portugese. Open an issue if your language is not supported.

Installation

The required permission are (manifest):

"permissions": [ 
    "declarativeContent", 
    "storage", 
    "tabs"
],
"host_permissions": [
    "*://www.youtube.com/*",
    "*://music.youtube.com/*"
]

"Storage" is neccessary to save your preferences between sessions.
"Tabs" is required to make the extension work properly on if YouTube is playing in the background. So, I am not collecting your browser history or whatsoever.

Microsoft Edge

Chromium-based Edge: Stable version available in Microsoft Edge Add-ons.

Other stores

This extension has no Firefox syntax.
So feel free to make an pr in which the chromium syntax is converted to that of Firefox.

The Firefox syntax can be found in the folder manifest_v2 of this repo and is available as Firefox Add-on
It's also not uploaded to the Chrome store, because you need to pay a little amount of money. Which isn't worth it for now.
But you can always sideload my extension in chromium-based browsers by enabling developer mode under [browsername]://extensions

If you want to load the extension by yourself in your browser without installing it from store or Microsoft suddenly decides to take action against it, follow the instructions below:

  1. Clone or download this repository
    • If you download it, make sure to extract it first
  2. Open the Extension Management page by navigating to edge://extensions
    • The Extension Management page can also be opened by clicking on the Edge menu, hovering over More Tools then selecting Extensions.
  3. Enable Developer Mode by clicking the toggle switch next to Developer mode.
  4. Click the Load unpacked button and select the extension directory.
  5. Ta-da! The extension has been successfully installed!

Release History

See the releases page for a history of releases and highlights for each release. This goes back to version 1.5.5.

License

GNU General Public License v2.0

Contributing

If you want to contribute to this project, make sure you have read the Contributing file