Skip to content

Instantly share code, notes, and snippets.

View ahoward1024's full-sized avatar

Alex Howard ahoward1024

  • Colorado
View GitHub Profile
# Buzzwords
## Count 4
| Buzzword | Quantity |
| :--- | ---: |
| Scripting Language | 2 |
| Agile (Methodology) | 2 |
| Object Oriented | 5 |
@ahoward1024
ahoward1024 / twitch-block.js
Created October 14, 2020 01:30
twitch-block
# https://github.com/uBlockOrigin/uAssets/pull/3517
twitch-videoad.js application/javascript
(function() {
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
var realFetch = window.fetch;
window.fetch = function(input, init) {
if ( arguments.length >= 2 && typeof input === 'string' && input.includes('/access_token') ) {
var url = new URL(arguments[0]);
url.searchParams.forEach(function(value, key) {
url.searchParams.delete(key);
@ahoward1024
ahoward1024 / scrollbar.js
Last active April 27, 2022 18:46 — forked from parafeu/scrollbar.js
Add corner color and rounding styles
const plugin = require("tailwindcss/plugin");
module.exports = plugin(function ({ addUtilities, matchUtilities, theme }) {
const scrollbarTrackColorValue = (value) => ({
'--scrollbar-track': value,
'&::-webkit-scrollbar-track': {
"background-color": value
}
})