commit ee8fd646cd4976f9bd22c4b15664e02c579aa49d Author: Knut Ahlers Date: Sun Jun 12 19:41:48 2016 +0200 twitter-sensitive-show v0.1.1 diff --git a/twitter-sensitive-show.user.js b/twitter-sensitive-show.user.js new file mode 100644 index 0000000..4393fcd --- /dev/null +++ b/twitter-sensitive-show.user.js @@ -0,0 +1,24 @@ +// ==UserScript== +// @name Twitter show all (sensitive) media +// @namespace http://luzifer.io/ +// @version 0.1.1 +// @description adds a button to show all hidden media +// @author Knut Ahlers +// @homepage https://github.com/Luzifer/userscripts +// @supportURL https://github.com/Luzifer/userscripts/issues +// @match https://twitter.com/* +// @icon https://abs.twimg.com/a/1465528353/img/t1/favicon.svg +// @grant none +// @run-at document-idle +// ==/UserScript== + +(function() { + 'use strict'; + + var btn = $(''); + btn.bind('click', function(){ + $('button.display-this-media').trigger('click'); + }); + + btn.appendTo($('.UserActions')); +})();