Skip to content

Instantly share code, notes, and snippets.

View pixeldesu's full-sized avatar
💥
npx yarn install

Andreas Nedbal pixeldesu

💥
npx yarn install
View GitHub Profile
@twilight-sparkle-irl
twilight-sparkle-irl / webcrack.js
Last active September 19, 2024 14:29
webcrack: mess with webpacked (webpackJsonp) applications
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily
// made by @yourcompanionAI
// licensed under the trust that you will credit me for my work visibly and other than that you can go have fun with this
// window.wc is the webcrack object
// wc.get gives you the module attached to the id you give it.
// literally just what webpack functions use. not much to it
// this is the basic part of all this, everything else is just to allow you to updateproof your code
// both find functions return modules in this format:
@twilight-sparkle-irl
twilight-sparkle-irl / tdtwc.user.js
Last active September 1, 2016 19:48
Fix Twitter Cards in TweetDeck
// ==UserScript==
// @name Fix Twitter Cards in TweetDeck
// @namespace https://twitter.com/NO_BOOT_DEVICE/status/771432971739930624
// @description Fixes certain embeds for media like youtu.be not appearing
// @include https://tweetdeck.twitter.com/*
// @include http://tweetdeck.twitter.com/*
// ==/UserScript==
TD.services.TwitterMedia.YFROG_RE = /(?:(?:https?\:\/\/)?(?:www\.)?)?yfrog.com\/\w+/
TD.services.TwitterMedia.PLIXI_RE = /(?:(?:https?\:\/\/)?(?:www\.)?)?plixi.com\/p\/[0-9]+/
TD.services.TwitterMedia.LOCKERZ_RE = /(?:(?:https?\:\/\/)?(?:www\.)?)?lockerz.com\/s\/[0-9]+/
@nilsding
nilsding / tweetdeckemoji.js
Created June 15, 2014 08:54
Enable Emoji graphics on TweetDeck
// How to enable Emoji graphics on TweetDeck™
//
// right-click somewhere on TweetDeck™ and click on "Inspect Element"
// go to the JavaScript console
// copy and paste these four lines into the console:
window.TD.util.cleanOld = window.TD.util.clean;
window.TD.util.clean = function(e) {
return window.TD.emoji.parse(window.TD.util.cleanOld(e));
};