johnmichel / Library-Detector-for-Chrome

🔍 Extension that detects which JavaScript libraries are running on a page
https://chrome.google.com/webstore/detail/cgaocdmhkmfnkdkbnckgmpopcbpaaejo
MIT License
658 stars 112 forks source link

Support for SvelteKit #206

Closed benmccann closed 3 months ago

benmccann commented 5 months ago

The most reliable way would be to look for a <script> tag with a variable beginning with the name __sveltekit_.

You could also potentially look for data-sveltekit- attributes. E.g. the default template contains <body data-sveltekit-preload-data="hover">. However, these may not be used in every application.

In the future, sites could potentially opt-into revealing that they're running SvelteKit more explicitly: https://github.com/sveltejs/kit/issues/11724

Here's the wappalyzer detection: https://github.com/dochne/wappalyzer/blob/471c2fb0b093973c098bd1855b89c8cde4997479/src/technologies/s.json#L6939