Skip to content

Instantly share code, notes, and snippets.

View SergeySagan's full-sized avatar

Sergey Sagan SergeySagan

View GitHub Profile
@pdincubus
pdincubus / fixTwitterEmbeddedTimelineStyles.js
Created February 28, 2014 14:52
Fed up of the lack of Twitter embedded timeline styling options? Hack it to bits.
//Assumes jQuery loaded
//Wait for the document and resources to finish loading
$(window).on('load', function() {
//wait a little longer to ensure the iframe is really finished loading
setInterval(function() {
//find the iframe, delve into its contents, and append a style block to the end of the head
//see that? Base64-encoded Twitter sprite too, because:
//apparently Twitter thinks that 'dark grey' for the 'light' theme,
//and 'a bit lighter grey' for the 'dark' theme is what everyone wants.
//you ever tried to see #a0a0a0 on rgb(33,135,124)?
namespace Sagas
{
using System;
using System.Collections.Generic;
class Program
{
static ActivityHost[] processes;