RSSy MYGO.pl Opublikowano Listopad 1, 2017 o 20:12 RSSy Udostępnij Opublikowano Listopad 1, 2017 o 20:12 Description: At some point, the behavior of Steam's webview changed. Calling ShowMOTDPanel (or variants) will show a previously viewed page if the last page viewed was on the same first-level domain. This plugin hooks the VGUIMenu usermessage and manipulates it in one of two ways to attempt to force displaying the correct page: The "proxy" iframe: The URL is rewritten so the user navigates to a static page with an iframe element; the desired page is loaded into it. The "delayed load": Another URL is opened, then the original URL is sent after a short delay. This plugin is tested and verified to work in Team Fortress 2. Other Source games that use bitbuffers should also work. CS:GO uses protobufs for user messages, so this plugin does not work there.ConVars: vgui_workaround_delay_time: Amount of time that the "delayed load" takes. vgui_workaround_proxy_page: The URL to the static iframe page. You can host a copy yourself; it's available in the repository. Other configuration: You can configure which URL prefixes use which method. See the configs/vgui_cache_buster_urls.cfg file for more details.Dependencies: If the "proxy" method is used, this plugin is dependent on one static page made accessible via web hosting. The plugin ships with a default URL pointed to my personally hosted copy of the page. No other plugin / extension dependencies.Things the plugin will clobber: VGUIMenu usermessages, obviously. Pages that are specific with X-Frame-Options headers will refuse to load with the "proxy" method. This includes YouTube, Google, and Steam group pages.Installation: Download the package.zip file from the releases page and copy the files into your SourceMod directory. Optionally: Upload the www/motd_proxy.html page to web hosting. Load the plugin. This will generate the configuration file located at cfg/sourcemod/plugin.vgui_cache_buster.cfg. Perform any desired configuration changes in the above file, as well as the URL configuration file. If you're hosting the static page yourself, change the vgui_workaround_proxy_page ConVar. Releases / Source Code Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się