Skip to content

Instantly share code, notes, and snippets.

@wilcooo
wilcooo / TagproHonk.user.js
Last active October 7, 2017 16:00 — forked from ballzilla/TagproHonk.user.js
Press space to honk.
// ==UserScript==
// @name TagPro Honk
// @description Press space to honk.
// @version 0.3.5
// @grant none
// @require https://gist.githubusercontent.com/ballzilla/dbbc9d9a91774f66698a/raw/howler.js
// @downloadURL https://github.com/wilcooo/TagPro-Honk/raw/master/tph.user.js
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
@wilcooo
wilcooo / howler.js
Created May 22, 2017 15:25
This is a backup, not currently pointed to
!function(){var e={},t=null,n=!0,r=!1;try{"undefined"!=typeof AudioContext?t=new AudioContext:"undefined"!=typeof webkitAudioContext?t=new webkitAudioContext:n=!1}catch(i){n=!1}if(!n)if("undefined"!=typeof Audio)try{new Audio}catch(i){r=!0}else r=!0;if(n){var s=void 0===t.createGain?t.createGainNode():t.createGain();s.gain.value=1,s.connect(t.destination)}var o=function(e){this._volume=1,this._muted=!1,this.usingWebAudio=n,this.ctx=t,this.noAudio=r,this._howls=[],this._codecs=e,this.iOSAutoEnable=!0};o.prototype={volume:function(e){var t=this;if(e=parseFloat(e),e>=0&&1>=e){t._volume=e,n&&(s.gain.value=e);for(var r in t._howls)if(t._howls.hasOwnProperty(r)&&t._howls[r]._webAudio===!1)for(var i=0;i<t._howls[r]._audioNode.length;i++)t._howls[r]._audioNode[i].volume=t._howls[r]._volume*t._volume;return t}return n?s.gain.value:t._volume},mute:function(){return this._setMuted(!0),this},unmute:function(){return this._setMuted(!1),this},_setMuted:function(e){var t=this;t._muted=e,n&&(s.gain.value=e?0:t._volume);for(v
@wilcooo
wilcooo / TagPro_Chat_Scroller.user.js
Last active December 12, 2017 14:36 — forked from nabbynz/TagPro_Chat_Scroller.user.js
TagPro Chat Scroller + Time fades after 20 seconds + 2 bugfixes
// ==UserScript==
// @name TagPro Chat Scroller
// @description Changes the default chat into a scrollable, whole-game chat. Optionally shows last-game chat between games.
// @version 0.6.3.2(Ko)
// - v0.6.3.Ko: Add a fadeTime option, to fade the time after 20 secs.
// I've labeled all changes with Ko: for reference
// - v0.6.3: Fix the 'serverHost' bug.
// - v0.6.2: Added 'bwep' sound on all chat messages option. Fixed a teamcount bug.
// - v0.6.0: Added caps timeline.
// - Made compatible with new TagPro site design.
// ==UserScript==
// @name TagPro Timers
// @version 0.2.3
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @author Some Ball -1
// @grant GM_setValue
// @grant GM_getValue
// ==/UserScript==
@wilcooo
wilcooo / TagPro_Map_Name_Above_Timer.user.js
Last active November 3, 2017 13:53 — forked from nabbynz/TagPro_Map_Name_Above_Timer.user.js
Nabbys script, but updated to use PIXI.js v4
// ==UserScript==
// @name TagPro Map Name Below Timer (& More!)
// @description Show the name of the map & author below the countdown timer. Also the score difference above the timer.
// @version 1.3.2.1(Ko)
// - Since TagPro got updated to use the latest PIXI.js, these things had to be changed to avoid thousends of warnings
// - DisplayObjectContainer is replaced by Container
// - font is replaced by fontFamily, fontSize, fontStyle etc. etc.
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
@wilcooo
wilcooo / sunflair.user.js
Last active November 6, 2017 22:19
TagPro Sunshine Flair
// ==UserScript==
// @name Sunshine Flair!
// @description gift to sun dog / moon cat
// @website https://redd.it/7b67uq
// @author Ko
// @version 0.1
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @download https://gist.github.com/wilcooo/54102c940c24f662eaef974ffd61beea/raw/sunflair.user.js
@wilcooo
wilcooo / tagpro_player_monitor.user.js
Last active November 16, 2017 17:14 — forked from bash-tp/tagpro_player_monitor.user.js
TagPro Player Monitor
// ==UserScript==
// @name TagPro Player Monitor
// @version 2.0
// @author bash# ; Ko
// @namespace http://www.reddit.com/user/bash_tp/
// @description Shows an on-screen list of players in the game and their current status
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @downloadURL https://github.com/wilcooo/TagPro-PlayerMonitor/raw/master/tppm.user.js
// ==UserScript==
// @name Wall Shadows & Floor Gradient
// @description Adds shadows to the walls, and a gradient to the floor tiles.
// @version 0.2.0
// @include http://tagpro-*.koalabeast.com:*
// @updateURL https://gist.github.com/nabbynz/3464cbdf41ca82ba4d4f34c1658dd0b5/raw/Wall_Shadows_&_Floor_Gradient.user.js
// @downloadURL https://gist.github.com/nabbynz/3464cbdf41ca82ba4d4f34c1658dd0b5/raw/Wall_Shadows_&_Floor_Gradient.user.js
// @grant none
// @author nabby
// ==/UserScript==
@wilcooo
wilcooo / tpshk.user.js
Last active January 28, 2018 21:13
TagPro Switch HotKey: Switch Quicker
// ==UserScript==
// @name TagPro Switch HotKey
// @description Switch Quicker
// @author Ko
// @version 1
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @download https://gist.github.com/wilcooo/583337ceaf7e2d8c8359cd38823b15b8/raw/tpshk.user.js
// ==/UserScript==
@wilcooo
wilcooo / Flair_Stream_Scroller.user.js
Last active February 1, 2018 21:44 — forked from nabbynz/Flair_Stream_Scroller.user.js
Flair Stream Scroller w/ data-collection ( tiny.cc/flairstream )
// ==UserScript==
// @name Flair Stream Scroller
// @description Shows all flairs from the flair-stream since the page was first loaded.
// @version 0.0.3.1.Ko
// @include http://tagpro-*.koalabeast.com/
// @updateURL https://gist.github.com/nabbynz/c26c9b366f61f77227985908ec87d36d/raw/Flair_Stream_Scroller.user.js
// @downloadURL https://gist.github.com/nabbynz/c26c9b366f61f77227985908ec87d36d/raw/Flair_Stream_Scroller.user.js
// @grant GM_addStyle
// @license WTFPL
// @author nabby