// ==UserScript== // @name Tweetdeck media zoom // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author y_kahou // @match https://tweetdeck.twitter.com/ // @grant none // @noframes // @require http://code.jquery.com/jquery-3.5.1.min.js // @downloadURL none // ==/UserScript== var $ = window.jQuery; function __css__() {/* .med-origlink { display: none; } .med-flaglink { display: none; } .med-embeditem { top: 0; bottom: 0; } .med-tweet { background: rgb(0, 0, 0, 0.8); width: 100%; right: 0; left: 0px; transition: 0.5s; opacity: 0; } .med-tweet:hover { opacity: 1; } */} function addStyle() { var css = (__css__).toString() .match(/[^]*\/\*([^]*)\*\/\}$/)[1] .replace(/\{\*/g, '/*') .replace(/\*\}/g, '*/'); $('head').append(``) } (function() { 'use strict'; addStyle(); })();