This commit is contained in:
goodtube4u
2024-07-23 11:17:45 +10:00
parent c7b1be1898
commit 2be8ac0f75
3 changed files with 2 additions and 20 deletions

View File

@@ -14,8 +14,7 @@ What is GoodTube you ask? It's a little plugin for Youtube (just works) and;
- Removes shorts.
- Removes unwanted search results ("You might also like this", "Other people also watched", etc).
- Removes thumbnails for other recommended videos that pop up when a video finishes (I really hate these, try without it's nice).
- Removes the annoying "are you still watching" popup / keeps videos playing indefinitely.
- Keeps you up to date, prompting you to update the plugin directly from Youtube when there's a new release. These updates are mostly just new features and minor bugfixes. So far 100% of the time this plugin has worked, so you don't need to update all the time or anything like that.
- Keeps you up to date with the latest version automatically.
And it keeps the good stuff like;

View File

@@ -251,20 +251,6 @@
});
}
// Remove that annoying "Are you still watching" prompt
function goodTube_youtube_areYouStillWatching() {
let confirmButtons = document.querySelectorAll('tp-yt-paper-dialog #confirm-button:not(.goodTube_clicked)');
confirmButtons.forEach((confirmButton) => {
confirmButton.classList.add('goodTube_clicked');
confirmButton.click();
// Allow it to be clicked multiple times, you might be watching all day!
setTimeout(function() {
confirmButton.classList.remove('goodTube_clicked');
}, 1000);
});
}
// Support timestamp links in comments
function goodTube_youtube_timestampLinks() {
// Links in video description and comments
@@ -6389,9 +6375,6 @@
// Hide ads, shorts, etc - real time
goodTube_youtube_hideAdsShortsEtc_realTime();
// Remove the "Are you still watching" prompt
goodTube_youtube_areYouStillWatching();
// Support timestamp links in comments
goodTube_youtube_timestampLinks();

2
goodtube.min.js vendored

File diff suppressed because one or more lines are too long