Last active
August 21, 2019 21:02
-
-
Save Luckz/c1e1b40a36414428b523517a85f3d0ff to your computer and use it in GitHub Desktop.
SteamActivityCommentLinks.user.js
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 LKZ Steam Activity Comment Links | |
// @namespace http://luckz.de/ | |
// @version 0.05 | |
// @description unhide comment URLs @ activity feed | |
// @author LKZ | |
// @match *://steamcommunity.com/*/home/ | |
// @match *://steamcommunity.com/*/myactivity/ | |
// @require https://code.jquery.com/jquery-3.2.1.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @downloadURL https://gist.github.com/Luckz/c1e1b40a36414428b523517a85f3d0ff/raw/SteamActivityCommentLinks.user.js | |
// @updateURL https://gist.github.com/Luckz/c1e1b40a36414428b523517a85f3d0ff/raw/SteamActivityCommentLinks.user.js | |
// ==/UserScript== | |
this.$ = this.jQuery = jQuery.noConflict(true); | |
function unhide(jQNode) { | |
if ($(jQNode).css('display') == 'none') | |
$(jQNode).css('display','block'); | |
} | |
waitForKeyElements(".blotter_userstatus[id^='userstatus'] .blotter_viewallcomments_container, .blotter_gamepurchase .blotter_viewallcomments_container", unhide); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably better to do this via a css stylesheet.