* Check if it is an android device. * @return bool
()
| 72 | * @return bool |
| 73 | */ |
| 74 | async function checkOSAndroid() { |
| 75 | if (os === undefined || os === null || os === "") { |
| 76 | await chrome.runtime.getPlatformInfo(function (info) { |
| 77 | os = info.os; |
| 78 | }); |
| 79 | } |
| 80 | |
| 81 | return os === "android"; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Extract the host without port from an url. |
no outgoing calls
no test coverage detected