summaryrefslogtreecommitdiff
path: root/viewtube.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewtube.js')
-rw-r--r--viewtube.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/viewtube.js b/viewtube.js
index fbefce8..dfad54f 100644
--- a/viewtube.js
+++ b/viewtube.js
@@ -205,16 +205,6 @@
else ytVideosContent = ytVideosAdaptiveFmts;
}
- function removeElements (selector) {
- document.querySelectorAll(selector).forEach(function (element) { element.remove(); });
- }
-
- /* Remove Player Window */
- removeElements("#placeholder-player");
-
- /* Remove Sidebar Ads */
- removeElements("#watch7-sidebar-ads");
-
/* Playlist */
var ytPlaylist, ytPlaceholderPlaylist;
if ((ytPlaylist = document.querySelector("#player-playlist"))