![]() |
Detecting HTML?
Is there any way to detect if the player has HTML enabled or not? Lets say in the NPC Server, if the player has HTML it sends a PM (containing HTML) and if HTML is disabled then it sends a different PM?
Example: NPC Code: |
I'm guessing if there was one it would be one of the $pref vars (which would be clientside anyways).
But, I couldn't find one on the wiki, so I am guessing no... |
Quote:
|
Personally I don't use HTML either, but I asked this out of curiousity. Thanks for the replies.
|
Can't be detected yet, can add variables for it on clientside may be
|
'yet', so does that mean it will be able to be detected in the future?
|
Quote:
|
Quote:
PHP Code:
|
So if you were able to combine the player.platform to see if they're on Windows, then check if HTML is enabled?
ie NPC Code: Unless you can simplify it some more, which I'm sure is possible. |
Would be neat, but oh hey - who needs html in Graal?
|
Well, it could 'brighten up the welcome message', so to speak. Or use HTML to highlight important points (ie. Rules, commands, etc). That's mainly the only reason why I would use HTML, to point out new paragraph topics.
Example Quote:
|
Quote:
PHP Code:
|
| All times are GMT +2. The time now is 10:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.