mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
95e0fac655
* feat: expose isMobile to info * feat: allow access browser info from $tw.browser * fix: adapt typo * refactor: only export selected properties Jermolene 5 hours ago The trouble is that the properties of bowser.browser are not under our direct control, and so subsequent updates to Bowser might overwrite important properties of our own. I'd rather explicitly import the properties that we choose to support. * refactor: put things into `is` |
||
---|---|---|
.. | ||
files | ||
browser.js | ||
plugin.info | ||
readme.tid | ||
usage.tid |
title: $:/plugins/tiddlywiki/browser-sniff/readme This plugin adds a number of `$:/info/` tiddlers containing information about the current browser. It allows you to create content that is presented in a way that is responsive to different browsers. For example, https://tiddlywiki.com uses this plugin to present the user with the best options for getting started depending on their browser. [[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/browser-sniff]]