Skip to content

Instantly share code, notes, and snippets.

@Tithen-Firion
Last active May 15, 2017 22:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tithen-Firion/08252b863cdadfd1f9e9bab99985b6ac to your computer and use it in GitHub Desktop.
Save Tithen-Firion/08252b863cdadfd1f9e9bab99985b6ac to your computer and use it in GitHub Desktop.
Steam profile visibility toggler.
javascript:(function(){var%20a=document.querySelector(".profile_content.has_profile_background").style;document.querySelector(".profile_header_bg").style.visibility=a.visibility=(a.visibility=="hidden"?"visible":"hidden");})();
var style = document.querySelector(".profile_content.has_profile_background").style;
var newVisibility;
if(style.visibility == "hidden")
newVisibility = "visible";
else
newVisibility = "hidden";
document.querySelector(".profile_header_bg").style.visibility = style.visibility = newVisibility;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment