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
// 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: |
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
// ==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]+/ |
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
// 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)); | |
}; |