Skip to content

Instantly share code, notes, and snippets.

@tomrandle
tomrandle / clubhouse-stylish.css
Last active September 21, 2016 14:31
Custom styling that adds avatars to clubhouse
/* Yes, I'm going to CSS hell! Install stylish browser extension then add this for clubhouse.io */
/* We don't find story and user ID useful so hide them */
.bucket-content .story-id,
.project-name {
display: none;
}
/* Font size 0 needed to hide forward separator between owners */
.bucket-content .story-summary {
@tomrandle
tomrandle / gist:8229157
Created January 2, 2014 23:21
jQuery to extract old style Flickr embed image. Run in console by right clicking 'inspect element' then changing to the console tab, pasting the code in a and pressing enter. You need the bit that's returned in the format <a href=""><img src=""></a>
var imageSource = $('.main-photo').src;
var photoPage = window.location.href;
var htmlString = '<a href="' + photoPage + '"><img src="' + imageSource + '"></a>';
console.log(htmlString);