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??
Stats
Chrome-Stats Rank
Other platforms
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:
Safety
Risk impact
How Fugu is the Web? is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install How Fugu is the Web? if you trust the publisher.
Risk likelihood
How Fugu is the Web? is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this extension.
Screenshots
Similar extensions
Here are some Chrome extensions that are similar to How Fugu is the Web?: