Skip to content

Instantly share code, notes, and snippets.

@KasparLee
KasparLee / cs.js
Last active October 30, 2016 13:03
Messaging Extension
// Send message to ml.js
chrome.runtime.sendMessage({
'key': 'value'
})
chrome.runtime.onMessage.addListener(function(message) {
console.log('CS: Second message received')
})
@KasparLee
KasparLee / RelatedPaddingFixer.user.js
Created April 22, 2016 08:42
Fixes Padding of Votes in "Related" Section on all the sites in the StackExchange Network
// ==UserScript==
// @name StackExchange "Related" Padding Fixer
// @namespace everywhere
// @include *://*stackoverflow.com/*
// @include *://*stackexchange.com/*
// @include *://*askubuntu.com/*
// @include *://*superuser.com/*
// @include *://*serverfault.com/*
// @version 1
// @grant none
@KasparLee
KasparLee / RevertVoteCounts.user.js
Last active April 13, 2016 10:04
Revert Vote Counts on StackExchange Websites
// ==UserScript==
// @name Revert Vote Counts on StackExchange Websites
// @namespace everywhere
// @include *://*stackoverflow.com/*
// @include *://*stackexchange.com/*
// @include *://*askubuntu.com/*
// @include *://*superuser.com/*
// @include *://*serverfault.com/*
// @version 1
// @grant none