View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 12-30-2017 , 08:59   Re: [ANY+CS:GO] VGUI URL Cache Buster
Reply With Quote #14

Quote:
Originally Posted by Franc1sco View Post
So your plugin fix that sometimes the website doesnt show correctly and its compatible with this?
Yes, it fixes both same-domain issues on all games (by forcing the delayed load) and the CS:GO-specific quirk (where the solution is opening the page in a popup window).

The include is only to demonstrate custom popup sizes for CS:GO; you can use ShowMOTDPanel as you would with other games to show your webpage as a popup with a default size (determined through JavaScript as screen.width / screen.height).

For your plugin specifically, I think you'd be able to take out the FixMotdCSGO* functions, and for non-fullscreen webviews, replace ShowMOTDPanel with CSGO_ShowMOTDPanel and set sizing accordingly.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline