Categories

Subscribe via Email

Enter your email address to subscribe and receive notifications of new content by email.

Shows the usage of the Browser capabilities component

Insert the following code onto your web page

<%
Set browser=Server.CreateObject(“MSWC.BrowserType”)

%>
<table border=”1″ width=”65%”>
<tr>
<td width=”50%”>Client OS</td>
<td width=”50%”><%=browser.platform%></td>
</tr>
<tr>
<td >Web Browser</td>
<td ><%=browser.browser%></td>
</tr>
<tr>
<td>Browser version</td>
<td><%=browser.version%></td>
</tr>
<tr>
<td>Frame support?</td>
<td><%=browser.frames%></td>
</tr>
<tr>
<td>Table support?</td>
<td><%=browser.tables%></td>
</tr>
<tr>
<td>Sound support?</td>
<td><%=browser.backgroundsounds%></td>
</tr>
<tr>
<td>Cookies support?</td>
<td><%=browser.cookies%></td>
</tr>
<tr>
<td>VBScript support?</td>
<td><%=browser.vbscript%></td>
</tr>
<tr>
<td>JavaScript support?</td>
<td><%=browser.javascript%></td>
</tr>
</table>

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInWhatsAppBibSonomyDeliciousDiggDiigoSina WeiboWordPressBlogger PostShare

Leave a Reply

  

  

  


*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>