File:Install-dialog.png

From GreaseSpot Wiki
Revision as of 09:48, 1 November 2011 by 80.179.5.118 (talk) (val)
Jump to navigationJump to search

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/TimeThumbnailDimensionsUserComment
current19:17, 3 November 2017Thumbnail for version as of 19:17, 3 November 2017461 × 448 (23 KB)Arantius (talk | contribs)GM 4.0 style.
00:51, 23 April 2007Thumbnail for version as of 00:51, 23 April 2007361 × 386 (8 KB)Arantius (talk | contribs)

The following page uses this file: