Skip to content

Instantly share code, notes, and snippets.

@Udo Udo/user.js
Last active Aug 20, 2016

What would you like to do?
Tampermonkey script for displaying the Ludum Dare Streamers widget on the LD website
// ==UserScript==
// @name Ludum Dare Streamers Widget
// @namespace
// @version 0.1
// @description Simple script to patch a live stream preview into the Ludum Dare website.
// @author Udo Schroeter
// @grant none
// @include*
// ==/UserScript==
(function() {
'use strict';
var injectLinkIntoSidebar = function() {
'<img src="" width="56" />'+
'<div class="headline">Streaming Ludum Dare</div>'+
'<div>Programming live streams</div>'+
'<a href=""><img src="/_.png" class="blank" /></a>'+
var injectPreview = function() {
jQuery('.imagebox').prepend('<iframe '+
'style="border: none; border-radius: 12px;" '+
'src="" '+
'width="100%" height="180"></iframe>');
if(jQuery && jQuery('.imagebox').length > 0) {
// injectLinkIntoSidebar();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.