Talk:Fb:user-agent

From Facebook Developers Wiki

Jump to: navigation, search

Should this maybe be renamed/aliased to "if-user-agent-is" ?

[edit] Firefox

If you would like to add a Get Firefox button only for those not browsing in Firefox, here is an example code:

<fb:user-agent excludes="firefox">
<a href="http://www.spreadfirefox.com/node&id=0&t=209">
<img border="0" alt="Firefox 2" title="Firefox 2" src="http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png"/>
</a>
</fb:user-agent>

Example:

 firefox-spread-btn-1.png

Other images can be found here