Extensions Submodule > Fetchers > Iframely
Iframely
- Developer: Iframely
- BrowserType:
fetcher
User-Agent Examples
sh
Iframely/1.3.1 (+https://iframely.com/docs/about)Code Example
js
import { UAParser } from 'ua-parser-js';
import { Fetchers } from 'ua-parser-js/extensions';
import { Extension } from 'ua-parser-js/enums';
const fetcherParser = new UAParser(Fetchers);
const browser = fetcherParser.setUA('Iframely/1.3.1 (+https://iframely.com/docs/about)').getBrowser();
console.log(browser);
// {name: "Iframely", version: "1.3.1", major: "1", type: "fetcher"}
// Compare using the built-in enum
const { Fetcher } = Extension.BrowserName;
console.log(browser.is(Fetcher.IFRAMELY));
// true