MCPcopy Index your code
hub / github.com/ClearURLs/Addon / getBrowser

Function getBrowser

core_js/tools.js:228–234  ·  view source on GitHub ↗

* Check for browser.

()

Source from the content-addressed store, hash-verified

226 * Check for browser.
227 */
228function getBrowser() {
229 if (typeof InstallTrigger !== 'undefined') {
230 return "Firefox";
231 } else {
232 return "Chrome";
233 }
234}
235
236/**
237 * Decodes an URL, also one that is encoded multiple times.

Callers 3

initSettingsFunction · 0.85
setBadgedStatusFunction · 0.85
eTagFilter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected