// ==UserScript== // @name Steam显示国区偏好设置 // @description 可以自动发送请求完成设置 // @version 1.0.0 // @author girl-dream // @namespace https://github.com/girl-dream/ // @icon https://store.steampowered.com/favicon.ico // @match https://store.steampowered.com/account/preferences // @match https://store.steampowered.com/account/preferences/ // @run-at document-end // @license The Unlicense // ==/UserScript== (() => { 'use strict' if (GStoreItemData.rgNavParams.__page_default_obj.countrycode === 'CN') { $J('.account_setting_not_customer_facing').removeClass('account_setting_not_customer_facing') $J('#descriptor_4_store, #descriptor_4_community, #descriptor_3_store,#descriptor_3_community').prop('checked', true) let temp = $J('.preference_row').eq(-2) temp.find('.account_manage_subtitle').text('频繁的裸露画面或色情内容') temp.find('.account_setting_parenthetical').text('主要展示裸露画面或色情主题的游戏或内容。勾选此复选框即表示您确认自己已至少年满 18 周岁。').append('
查看示例产品(国区无法查看)') temp = $J('.preference_row').last() temp.find('.account_manage_subtitle').text('暴力或血腥画面') temp.find('.account_setting_parenthetical').text('包含仅针对成人受众的性意味明显或露骨的游戏或内容。勾选此复选框即表示您确认自己已至少年满 18 周岁。').append('
查看示例产品(国区无法查看)') SaveContentDescriptorPreferences() } })();