# \[Pro\] How to detect which browser is being used

**URL:** <https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760>\
**Category:** Freeway\
**Created:** [December 1, 2012, 12:34am UTC](https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760 "2012-12-01T00:34:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marek](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@Marek](https://discourse.softpress.com/u/Marek)\
**Post date:** [December 1, 2012, 12:34am UTC](https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760/1 "2012-12-01T00:34:10Z")

</div>

Is there a way to detect which browser is being used to view my webpage in Freeway?

I’d like to have Freeway detect browsers that don’t support SVGs and send those to another version of my website with PNGs (or JPEGs, etc.)

How do i re-direct those browsers after Freeway has identified them?

Thanks!

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [December 1, 2012, 12:53am UTC](https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760/2 "2012-12-01T00:53:19Z")

</div>

Have a look at [Can I use... Support tables for HTML5, CSS3, etc](http://caniuse.com/#cats=SVG)

Essentially IE8 and below have little/no support.

So you want to include a conditional redirect something like

```auto
<!--[if lte IE 8]> 
  <meta http-equiv="refresh" content="0;http://www.mysite.com/no-svg.html"> 
<![endif]-->

```

David

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [December 1, 2012, 1:08am UTC](https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760/3 "2012-12-01T01:08:25Z")

</div>

Or maybe

```auto
<!--[if lte IE 8]>
<script type="text/javascript">window.location = "http://www.yoursite.com/no-svg.html";</script>
<![endif]-->

```

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [December 1, 2012, 1:15am UTC](https://discourse.softpress.com/t/pro-how-to-detect-which-browser-is-being-used/15760/4 "2012-12-01T01:15:52Z")

</div>

If you have IE 8 try this page [http://www.deltadesign.co/fw\_examples/wide-page.html](http://www.deltadesign.co/fw_examples/wide-page.html)

This uses the script in the previous post.

You would add that script in Page\>Html Markup in the After section

D

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
