1
{"date":"","SteamStore":{"link":"^store\\.steampowered\\.com/app/(\\d+).*","url":":(()=>{const browserLang=navigator.language;const baseLang=browserLang.split('-')[0];const steamLanguageMap={'ar':'arabic','bg':'bulgarian','zh-CN':'schinese','zh-TW':'tchinese','cs':'czech','da':'danish','nl':'dutch','en':'english','fi':'finnish','fr':'french','de':'german','el':'greek','hu':'hungarian','id':'indonesian','it':'italian','ja':'japanese','ko':'koreana','no':'norwegian','pl':'polish','pt':'portuguese','pt-BR':'brazilian','ro':'romanian','ru':'russian','es':'spanish','es-419':'latam','sv':'swedish','th':'thai','tr':'turkish','uk':'ukrainian','vi':'vietnamese',};const lang=steamLanguageMap[browserLang]||steamLanguageMap[baseLang]||'english';return(`https://store.steampowered.com/api/appdetails?appids=${$[1]}&l=${lang}`);})()","res":":\nconst useSidebar = true; //Set to true, details will be displayed in the sidebar.\nconst allowMaxResolution = true; //true:Maximum resolution (if any). false:Full HD at maximum.\nconst lowResolutionFirst = false; //Set to true, display low resolution images first. Press TAB to switch to full size image.\n\nconst DEBUG_MODE = false;\nconst log = (DEBUG_MODE) ? console.log.bind(console) : () => { };\n\nlog($);\nconst appID = $[1];\nconst data = JSON.parse($._)[appID].data;\nlog(data);\nconst title = data.name;\nconst price = (data.is_free) ? 'Free Play' : (data.price_overview?.final_formatted) ? data.price_overview.final_formatted : '';\nconst caption = (price) ? title + ': ' + price : title;\nconst desc = data.about_the_game;\nconst DRMNotice = (data.drm_notice) ? data.drm_notice : '';\nconst extAccountNotice = (data.ext_user_account_notice) ? data.ext_user_account_notice : '';\nconst notices = (DRMNotice && extAccountNotice) ? [DRMNotice, extAccountNotice] : [DRMNotice] || [extAccountNotice];\nconst releaseDate = data.release_date?.coming_soon === true ? data.release_date.date : '';\nconst backgroundImage = data.background;\nconst css = `\n#imagus-extension.imagus-sidebar {\n  background-color: rgb(36, 44, 54);\n  background-image: url(${backgroundImage});\n\th1, h3, p {\n\t\tcolor: rgb(200, 200, 200);\n\t}\n\n  h1 {\n    font-size: 22px;\n  }\n  h2 {\n    font-size: 20px;\n    color: rgb(83, 145, 181);\n  }\n  h3 {\n    font-size: 18px;\n  }\n  p.notice {\n    color: #e1c48a;\n    background: -webkit-gradient(\n      linear,\n      left top,\n      right bottom,\n      color-stop(0%, rgba(130, 114, 81, 0.5)),\n      color-stop(100%, rgba(226, 197, 139, 0.5))\n    );\n    margin-bottom: 5px;\n  }\n  img {\n    max-width: 100%;\n    height: auto;\n  }\n}\n`;\nconst l = lowResolutionFirst;\nconst m = allowMaxResolution;\nconst fixProtocol = url => url.replace(/^http:\\/\\//, 'https://');\nconst images = data.screenshots?.map(image => [\n\t[`${(!l) ? '#' : ''}${(!m) ? image.path_full : image.path_full.replace(/\\.\\d+x\\d+\\./, '.')}`, `${(!l) ? '' : '#'}${image.path_thumbnail}`]\n]) ?? [];\nconst videos = data.movies?.map(video => [\n\t[`${(!l) ? '#' : ''}${fixProtocol(video.mp4.max)}`, `${(!l) ? '' : '#'}${fixProtocol(video.mp4[\"480\"])}`],\n\tvideo.name\n]) ?? [];\nconst res = [...images, ...videos];\n\nconst prepResult = (res, content) => {\n\tif (useSidebar) {\n\t\tif (!lowResolutionFirst) res.splice(1, 0, [res[0][0]]);//first image is hard to see in the sidebar, so I'll register two.\n\t\tres[0][1] = `<imagus-extension type=\"sidebar\"><style>${css}</style><h1>${title}</h1><h3>${price}</h3><h3>${releaseDate}</h3>${notices.map(notice => `<p class=\"notice\">${notice}</p>`).join('')}<br>${content}</imagus-extension>`;\n\t\tthis.TRG.IMGS_ext_data = res\n\t\treturn { loop: 'imagus://extension' }\n\t} else {\n\t\tres[0][1] = `${caption} | ${data.short_description}`;\n\t\treturn res\n\t}\n}\n\nreturn prepResult(res, desc);"}}

For immediate assistance, please email our customer support: [email protected]

Download RAW File