/in-web-ext

Linkedin cross-browser extension made with Vite

Primary LanguageTypeScriptMIT LicenseMIT

Linkedin Web Extension

Adds a custom section in the Linkedin profiles


A Vite powered WebExtension (Chrome, FireFox, etc.).

Development

pnpm dev

Then load extension in browser with the extension/ folder.

For Firefox developers, you can run the following command instead:

pnpm start:firefox

web-ext auto reload the extension when extension/ files changed.

While Vite handles HMR automatically in the most of the case, Extensions Reloader is still recommanded for cleaner hard reloading.

Build

To build the extension, run

pnpm build

And then pack files under extension, you can upload extension.crx or extension.xpi to appropriate extension store.

Credits

This project uses https://github.com/antfu/vitesse-webext as a boilerplate. All the magic comes from Anthony Fu.

ToDos

  • Refresh (refetch) on profile page change.
  • Enable when navigating from a non-profile page to a profile page, within LinkedIn.