Skip to content

Instantly share code, notes, and snippets.

View crapier's full-sized avatar

Clifton Rapier crapier

View GitHub Profile
@crapier
crapier / YouTube Livestream Vote Counter.md
Last active October 17, 2015 19:50
This userscript for YouTube adds the ability to count votes (or anything in the livestream chat) on livestreams.

YouTube Livestream Vote Counter

This userscript for YouTube adds the ability to count votes (or anything in the livestream chat) on livestreams.

Usage

  • Refresh page on livestream video
    • A menu with a text field and button should appear below the comments
  • Wait for the comment section to finish loading (if it hasn't started showing comments yet)
// The node.js HTTP server.
var app = require('http').createServer(handler);
// The socket.io WebSocket server, running with the node.js server.
var io = require('socket.io').listen(app);
// Allows access to local file system.
var fs = require('fs');
// Allows for parsing urls
var url = require('url');
var listen_port = 80;
@crapier
crapier / Kissanime_cleaner.md
Last active May 3, 2022 18:39
Userscript for removing bloat from KissAnime site, also adds random features.

KissAnime Cleaner

You guys may have noticed but I've not been updating this for a while and a few pieces are broken. Feel free to update this on your own if you want to or to use Juici's Fork, which he has kindly been keeping more up to date.

This userscript for KissAnime was made for my personal use to remove large chunks of the site that I do not use, including any options to login or use features only for members. Along the way I ended up adding some other small features listed below.

Features

  • Removes any link, tabs, buttons, pages, etc. that I will never use.
  • Also removes ads on any pages that still remain