# Browser/os detect (functions and example without JS)

**URL:** <https://www.ruby-forum.com/t/browser-os-detect-functions-and-example-without-js/140400>\
**Category:** Ruby\
**Created:** [June 13, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/browser-os-detect-functions-and-example-without-js/140400 "2008-06-13T16:23:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dracula](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@dracula](https://www.ruby-forum.com/u/dracula)\
**Post date:** [June 13, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/browser-os-detect-functions-and-example-without-js/140400/1 "2008-06-13T16:23:27Z")

</div>

Hello people!  
Many people say - How detecting browser and OS without JavaScript?  
I create example how detecting browser and os with Ruby CGI!  
Download detect.zip,Unzip this archive.  
2 file - detect.rb and index.rb  
detect.rb - functions  
index.rb - example  
def cyberlangos - your lang for OS (example Your OS:)  
def cyberlangbrowser - you lang for browser (example Your browser:)  
Good luck  
Alexey T. aka Dracula
