2015-03-19 10:53:45 +00:00
title: $:/plugins/tiddlywiki/browser-sniff/usage
2014-07-22 14:16:18 +00:00
! Information Tiddlers
2015-03-19 10:53:45 +00:00
The following informational tiddlers are created at startup:
2014-07-22 14:16:18 +00:00
|!Title |!Description |
|[[$:/info/browser/is/android]] |Running on Android? ("yes" or "no") |
|[[$:/info/browser/is/bada]] |Running on Bada? ("yes" or "no") |
2014-08-08 15:35:28 +00:00
|[[$:/info/browser/is/blackberry]] |Running on ~BlackBerry? ("yes" or "no") |
2014-07-22 14:16:18 +00:00
|[[$:/info/browser/is/chrome]] |Running on Chrome? ("yes" or "no") |
|[[$:/info/browser/is/firefox]] |Running on Firefox? ("yes" or "no") |
|[[$:/info/browser/is/firefoxos]] |Running on Firefox OS? ("yes" or "no") |
|[[$:/info/browser/is/gecko]] |Running on Gecko? ("yes" or "no") |
|[[$:/info/browser/is/ios]] |Running on iOS (ie an iPhone, iPad or iPod)? ("yes" or "no") |
|[[$:/info/browser/is/ipad]] |Running on iPad? ("yes" or "no") |
|[[$:/info/browser/is/iphone]] |Running on iPhone? ("yes" or "no") |
|[[$:/info/browser/is/ipod]] |Running on iPod? ("yes" or "no") |
|[[$:/info/browser/is/opera]] |Running on Opera? ("yes" or "no") |
2014-08-08 15:35:28 +00:00
|[[$:/info/browser/is/phantomjs]] |Running on ~PhantomJS? ("yes" or "no") |
2014-07-22 14:16:18 +00:00
|[[$:/info/browser/is/safari]] |Running on Safari? ("yes" or "no") |
|[[$:/info/browser/is/sailfish]] |Running on Sailfish? ("yes" or "no") |
|[[$:/info/browser/is/seamonkey]] |Running on Sea Monkey? ("yes" or "no") |
|[[$:/info/browser/is/silk]] |Running on Amazon's Silk? ("yes" or "no") |
|[[$:/info/browser/is/tizen]] |Running on Tizen? ("yes" or "no") |
2014-08-08 15:35:28 +00:00
|[[$:/info/browser/is/webkit]] |Running on ~WebKit? ("yes" or "no") |
|[[$:/info/browser/is/webos]] |Running on ~WebOS? ("yes" or "no") |
2014-07-22 14:16:18 +00:00
|[[$:/info/browser/is/windowsphone]] |Running on Windows Phone? ("yes" or "no") |
|[[$:/info/browser/name]] |Platform name (see below) |
|[[$:/info/browser/version]] |Browser version |
The browser information is obtained with [[Bowser, a browser detector library from Dustin Diaz|https://github.com/ded/bowser/]]. Possible browser names include:
* ''"Amazon Silk"''
* ''"Android"''
* ''"Bada"''
2014-08-08 15:35:28 +00:00
* ''"~BlackBerry"''
2014-07-22 14:16:18 +00:00
* ''"Chrome"''
* ''"Firefox"''
* ''"Internet Explorer"''
* ''"iOS"''
* ''"Opera"''
2014-08-08 15:35:28 +00:00
* ''"~PhantomJS"''
2014-07-22 14:16:18 +00:00
* ''"Safari"''
* ''"Sailfish"''
2014-08-08 15:35:28 +00:00
* ''"~SeaMonkey"''
* ''"~TiddlyDesktop"''
2014-07-22 14:16:18 +00:00
* ''"Tizen"''
2014-08-08 15:35:28 +00:00
* ''"~WebOS"''
2014-07-22 14:16:18 +00:00
* ''"Windows Phone"''
Note that Bowser returns "iPhone", "iPad" and "iPod" as distinct values for the name of the current browser. TiddlyWiki converts all three distinct values into "iOS" before copying to [[$:/info/browser/name]].