Skip to content

Instantly share code, notes, and snippets.

View samfundev's full-sized avatar

Sam samfundev

View GitHub Profile
/**
* @name ChannelTabs
* @displayName ChannelTabs
* @source https://gist.github.com/samfundev/9f8ef7ad688630ea69bf5052c1415d54
* @updateUrl https://gist.githubusercontent.com/samfundev/9f8ef7ad688630ea69bf5052c1415d54/raw
* @donate https://paypal.me/samfun123
* @authorId 76052829285916672
*/
/*@cc_on
@if (@_jscript)

Keybase proof

I hereby claim:

  • I am samfundev on github.
  • I am samfundev (https://keybase.io/samfundev) on keybase.
  • I have a public key ASBiEO-dTKh6yuB2CPtswz4Y4x1IsyaJTCJ8t1BiKLDxgQo

To claim this, I am signing this object:

@samfundev
samfundev / README.md
Created April 29, 2019 01:01
SCRIPT-8
@samfundev
samfundev / README.md
Created April 29, 2019 00:52
SCRIPT-8
// ==UserScript==
// @name BetterTTV
// @namespace https://nightdev.com/betterttv/
// @version 0.1
// @description BetterTTV enhances Twitch with new features, emotes, and more. We like to think we make Twitch better.
// @author night
// @match *://*.twitch.tv/*
// @exclude *://*.twitch.tv/*.html
// @exclude *://*.twitch.tv/*.html?*
// @exclude *://*.twitch.tv/*.htm
@samfundev
samfundev / unshortenLinks.plugin.js
Created July 13, 2016 03:06
BetterDiscord Plugin. Tries to convert most shortened links to the original.
@samfundev
samfundev / directMedia.plugin.js
Created July 13, 2016 03:04
BetterDiscord Plugin. Tries to convert most direct media links to embedded pictures.
//META{"name":"directMedia"}*//
var directMedia = function () {};
directMedia.prototype.checklinks = function() {
$(".message").each(function() {
var message = $(this)
message.find($("a")).each(function() {
var link = $(this);