This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a').click(function() { | |
$('a[href*="ouo.io"]').each(function(){ | |
$(this).attr('href',$(this).attr('href') | |
.replace(/^http.*\/?s=/gm,'') | |
.replace(/%3A/gm, ':') | |
.replace(/%2F/gm, '/')); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Originally made by Epictek | |
var username = "username"; | |
var followerspage = 1; | |
var followers = []; | |
var a = false; | |
var getFollowers = setInterval(function() { | |
$.get("https://hummingbird.me/users?followers_of=" + username + "&page=" + followerspage, function(data) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).scroll(function() { | |
var nav = $(".navbar-collapse"); | |
var position = nav.position(); | |
if (position.top >= 0) { | |
$('#carousel-402664').css("display", 'inherit') | |
$('#carousel-402664').css("margin-top", -$(window).scrollTop()) | |
} else if (position.top < 0) { | |
$('#carousel-402664').css("display", 'none') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function TwitchHtml5VideoPlayer() { | |
// Remove old stuff | |
SiteOptions.video_experiments = ''; | |
// Does injection stuff | |
var inject = function() { | |
setTimeout(function() { | |
// Window the stuff | |
if (!window.Ember || !window.App || App.__container__.lookup("controller:application").get("currentRouteName") !== "channel.index") { | |
return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
var tapeteColor = 'az'; | |
var maderaColor = 'cl'; | |
$('a[tapeteColor]').click(function() { | |
tapeteColor = $(this).attr('tapeteColor'); | |
$('.videoini').attr('src', 'img/' + tapeteColor + '-' + maderaColor + '.jpg'); | |
}); | |
$('a[maderaColor]').click(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var b = "https://rawgit.com/antimatter15/jsgif/master/"; | |
var u = [ | |
"LZWEncoder.js", "NeuQuant.js", "GIFEncoder.js", "Demos/b64.js" | |
]; | |
$("canvas").remove(); | |
var $c = $("<canvas>").appendTo("body"); | |
var ctx = $c[0].getContext("2d"); | |
var d = document; | |
var i = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#video_player embed').attr('height', '720px').attr('width', '1280').css('position', 'fixed').css('margin', 'auto').css('left', '0').css('right', '0').css('top', '0').css('bottom', '0').css('display', 'block'); | |
$('#navbar').remove(); | |
$('#footer').remove(); | |
$('.sub_bloque').remove(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = 0; | |
while (i != $('.image').length) { | |
if ($('.image:eq(' + i + ')').attr('id') != undefined) { | |
link = $('.image:eq(' + i + ')').attr('id'); | |
pic = 'http://i.imgur.com/' + link + '.jpg'; | |
console.log('Downloading ' + pic) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get URL vars | |
function getUrlVars() { | |
var vars = {}; | |
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) { | |
vars[key] = value; | |
}); | |
return vars; | |
} |