安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
Even better! Why didnt I think of just using the browser xD
Parasprite already stated that. but thanks
Just have your default browser logged into Steam, why is this ever a problem for folks?
That's how you should be doing things.
You can install the SteamDB chrome extension. It's nice for many thinks, but what's REALLY nice is that it add an "Open in Steam client" button on every storepage.
from the console you can also just type a normal steam profile url like open http://steamcommunity.com/id/tnkforce
to create a bookmark of the steam console link, you'll have to bookmark any page or just a blank and edit the properties of the bookmark to point there
Much easier to just use steam:/openurl/ + full url incl "http://"
just type this into your default browser:
steam:/openurl/https://steamcommunity.com/discussions/forum/1/828933455738089665/
Boom.. and it works... no bookmark needed.
You COULD make a bookmarklet if you really wanted to (bookmark with javascript that can open the provided URL as steam:/openurl/ + URL)
edit the properties of a bookmark to point here:
javascript:window.location='steam://openurl/'+window.location.protocol+'//'+window.location.hostname+window.location.pathname;
this will open the current page in the steam client
ps: steam://* has 2 forward slashes otherwise it'll just take you to the steam page your client starts up with. this is in the documentation.
Much better. This is by far the most convinient solution so far for people with this "issue" (I say it like that because some would argue that it's like that for safety. but my friends computer opens all steam links in Steam... like it SHOULD be.. so no. it's not a safety mechanism).
the ts&cs btw. don't quote me on that, i'm not a "hacker". even though this doesn't redirect the address and javascript is a client side language, it's just a request and might as well be you typing it in the address bar, use at your own risk.
You're welcome. I can see why it makes now difference for you when you use console so often. But I tend to like solutions that fit more for the average pc user. Something that doesn't require much knowledge to execute.
For me, the javascript bookmark is fantastic, because it's really convinient and easy to understand.
EDIT:
And oh. I read your js code, and it seems fine. I even tested it in my chrome based browser, and works like a charm... so thumbs up!
wow, incredible, this works perfect! no add-on, no extension needed, thx a lot!
My pleasure :)
There's an even easier way if you always have your browser open and bookmark bar visible:
1. Create new bookmark
2. Set the name to Open URL in Steam.
3. Set address to javascript:window.location='steam://openurl/'+window.location.protocol+'//'+window.location.hostname+window.location.pathname;
Voila! Now you can just click this bookmark, and it will open the active page in steam (if compatible with steam).
// Thanks to tnkforce for the trick!
javascript:window.location='steam://openurl/'+window.location.href