mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
17
goodtube.js
17
goodtube.js
@@ -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
2
goodtube.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user