Steam Decensor

Removes censors on Steam screenshot descriptions and reviews. A script for manly Steam users.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Steam Decensor
// @namespace   http://twitter.com/DarkwindLeaf/
// @version     1.0
// @author      DarkwindLeaf
// @description Removes censors on Steam screenshot descriptions and reviews. A script for manly Steam users.
// @icon        https://dl.dropboxusercontent.com/u/21409664/icons/decensor.png
// @include     http://steamcommunity.com/sharedfiles/filedetails/?id=*
// @include     https://steamcommunity.com/sharedfiles/filedetails/?id=*
// @include     http://steamcommunity.com/id/*/recommended/*
// @include     https://steamcommunity.com/id/*/recommended/*
// ==/UserScript==

if (location.href.indexOf("sharedfiles") != -1) {
    var desc = document.querySelector(".screenshotDescription");
    var realDesc = '"' + document.getElementsByClassName("descField")[0].value + '"';
    desc.innerHTML = realDesc;
} else {
    var review = document.getElementById("ReviewText");
    var realReview = document.getElementById("ReviewEditTextArea").value;
    review.innerHTML = realReview;
}