How Fugu is the Web?

An extension to shine light on the Project Fugu šŸ” APIs web apps want to use.
What is How Fugu is the Web??
How Fugu is the Web? is a Chrome extension that detects and highlights the usage of Project Fugu APIs in web apps. It provides information on the supported APIs based on the browser and allows for deep-linking to the occurrences of detected APIs.

Extension stats

Users: 60 ā–¼ -1
Version: 1.19.1 (Last updated: 2024-07-30)
Creation date: 2021-06-23
Risk impact: High risk impact
Risk likelihood: Moderate risk likelihood
Manifest version: 3
Permissions:
  • activeTab
  • webRequest
  • webNavigation
Host permissions:
  • https://*/*
Size: 130.05K

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension

Extension summary

How it works

API data

The raw data for the different Project Fugu šŸ” APIs is curated in a spreadsheet, which is then turned into JavaScript, so keeping the list of APIs updated is hopefully a straightforward task.

API detection

The extension monitors the requests a page makes via the chrome.webRequest.onBeforeRequest.addListener() API. Each response body, grouped by main frame, JavaScript, and Web App Manifest response bodies, is then run through a set of regular expressions like /navigator.hid.requestDevice\s*(/g to determine if the code hints at a Project Fugu šŸ” API potentially being used.

Browser support detection

Most Project Fugu šŸ” APIs are easily feature-detectable by checking for the existence of interfaces or properties, for example, as in 'BarcodeDetector' in window. Other APIs require a ServiceWorkerRegistration, but luckily the popup window in Manifest V3 extensions uses a service worker, so it can be used via an IIFE that can be run in the client or the service worker. An example is (async () => 'periodicSync' in (await navigator.serviceWorker?.ready || self.registration))().

The support categories are listed below:

See more

Extension safety

Risk impact

How Fugu is the Web? requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

How Fugu is the Web? is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this extension.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to How Fugu is the Web?: