File:Install-dialog.png
Install-dialog.png (461 × 448 pixels, file size: 23 KB, MIME type: image/png)
// ==UserScript== // @name YouTube Ban from Frontpage // @namespace #aVg // @description Bans shit from YouTube's frontpage // @include http://*youtube.tld/ // ==/UserScript== const bannedUsers = ["ShaneDawsonTV2", "BlackChameleon", "sxephil", "Fred", "WHATTHEBUCKSHOW", "ShaneDawsonTV", "PhilipDeFranco"]; function loop(A, B) { A = document.evaluate(A, document, null, 6, null); var i = A.snapshotLength; while(--i >= 0) B(A.snapshotItem(i), i); } function remove(A) {A.parentNode.removeChild(A);} loop("//a[starts-with(@href, '/user/')]", function(user) { if(bannedUsers.indexOf(user.pathname.substring(6)) != -1) remove(user.parentNode.parentNode.parentNode.parentNode); });
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:17, 3 November 2017 | 461 × 448 (23 KB) | Arantius (talk | contribs) | GM 4.0 style. | |
00:51, 23 April 2007 | 361 × 386 (8 KB) | Arantius (talk | contribs) |
You cannot overwrite this file.
File usage
The following page uses this file: