An open API service indexing awesome lists of open source software.

https://github.com/smashedr/simple-extension

Simple Web Extension Addon Template/Example in Vanilla JavaScript w/ Many Features, Functions and Workflows.
https://github.com/smashedr/simple-extension

chrome-extension firefox-addon web-extension

Last synced: 17 days ago
JSON representation

Simple Web Extension Addon Template/Example in Vanilla JavaScript w/ Many Features, Functions and Workflows.

Awesome Lists containing this project

README

          

[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/ifefifghpkllfibejafbakmflidjcjfp?logo=google&logoColor=white&label=users)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
[![Mozilla Add-on Users](https://img.shields.io/amo/users/link-extractor?logo=mozilla&label=users)](https://addons.mozilla.org/addon/link-extractor)
[![Edge Add-on Users](https://img.shields.io/badge/dynamic/json?label=users&logoColor=white&query=%24.activeInstallCount&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fnmndaimimedljcfgnnoahempcajdamej&logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTAgMzYuMzU3TDEwNC42MiAyMi4xMWwuMDQ1IDEwMC45MTQtMTA0LjU3LjU5NUwwIDM2LjM1OHptMTA0LjU3IDk4LjI5M2wuMDggMTAxLjAwMkwuMDgxIDIyMS4yNzVsLS4wMDYtODcuMzAyIDEwNC40OTQuNjc3em0xMi42ODItMTE0LjQwNUwyNTUuOTY4IDB2MTIxLjc0bC0xMzguNzE2IDEuMVYyMC4yNDZ6TTI1NiAxMzUuNmwtLjAzMyAxMjEuMTkxLTEzOC43MTYtMTkuNTc4LS4xOTQtMTAxLjg0TDI1NiAxMzUuNnoiIGZpbGw9IndoaXRlIi8+PC9zdmc+)](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)
[![Chrome Web Store Rating](https://img.shields.io/chrome-web-store/rating/ifefifghpkllfibejafbakmflidjcjfp?logo=google&logoColor=white)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
[![Mozilla Add-on Rating](https://img.shields.io/amo/rating/link-extractor?logo=mozilla&logoColor=white)](https://addons.mozilla.org/addon/link-extractor)
[![Edge Add-on Rating](https://img.shields.io/badge/dynamic/json?label=rating&suffix=/5&query=%24.averageRating&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fnmndaimimedljcfgnnoahempcajdamej&logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTAgMzYuMzU3TDEwNC42MiAyMi4xMWwuMDQ1IDEwMC45MTQtMTA0LjU3LjU5NUwwIDM2LjM1OHptMTA0LjU3IDk4LjI5M2wuMDggMTAxLjAwMkwuMDgxIDIyMS4yNzVsLS4wMDYtODcuMzAyIDEwNC40OTQuNjc3em0xMi42ODItMTE0LjQwNUwyNTUuOTY4IDB2MTIxLjc0bC0xMzguNzE2IDEuMVYyMC4yNDZ6TTI1NiAxMzUuNmwtLjAzMyAxMjEuMTkxLTEzOC43MTYtMTkuNTc4LS4xOTQtMTAxLjg0TDI1NiAxMzUuNnoiIGZpbGw9IndoaXRlIi8+PC9zdmc+)](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)
[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/ifefifghpkllfibejafbakmflidjcjfp?label=chrome&logo=googlechrome)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
[![Mozilla Add-on Version](https://img.shields.io/amo/v/link-extractor?label=firefox&logo=firefox)](https://addons.mozilla.org/addon/link-extractor)
[![Edge Add-on Version](https://img.shields.io/badge/dynamic/json?label=edge&query=%24.version&url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Fnmndaimimedljcfgnnoahempcajdamej&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgNTAgNTAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxwYXRoIGZpbGw9IiM0MGJmZmYiIGQ9Ik0gMjUuMzAwNzgxIDMgQyAxNS43OTA3ODEgMyA3LjcwMDg1OTQgOC42ODAzMTI1IDQuMzgwODU5NCAxNy41NzAzMTIgQyA3LjA5MDg1OTQgMTQuNTkwMzEzIDEwLjY3OTYwOSAxMyAxNC44NDk2MDkgMTMgTCAxNC44ODA4NTkgMTMgQyAyMS4zNTA4NTkgMTMuMDEgMjguMTg5MjE5IDE3LjEwMDU0NyAzMC40NDkyMTkgMjIuMzEwNTQ3IEwgMzAuNDM5NDUzIDIyLjMxMDU0NyBDIDMxLjI0OTQ1MyAyMy44OTA1NDcgMzEuMDYwNzgxIDI1LjUyMDc4MSAzMC44MDA3ODEgMjYuNTUwNzgxIEMgMzAuNTAwNzgxIDI3LjcyMDc4MSAzMC4wNTA4NTkgMjguMjcwMjM0IDI5Ljg4MDg1OSAyOC40OTAyMzQgTCAyOS43ODkwNjIgMjguNjA5Mzc1IEMgMjkuNDU5MDYzIDI5LjAxOTM3NSAyOS41MTAzOTEgMjkuNjIwNDY5IDI5LjkwMDM5MSAyOS45ODA0NjkgQyAyOS45NzAzOTEgMzAuMDQwNDY5IDMwLjA4MDQ2OSAzMC4xMjA3MDMgMz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AyNS4xNjk5MjIgeiIvPjwvc3ZnPg==)](https://microsoftedge.microsoft.com/addons/detail/link-extractor/nmndaimimedljcfgnnoahempcajdamej)
[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/link-extractor?logo=github)](https://github.com/cssnr/link-extractor/releases/latest)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_link-extractor&metric=alert_status&label=quality)](https://sonarcloud.io/summary/overall?id=cssnr_link-extractor)
[![Workflow Build](https://img.shields.io/github/actions/workflow/status/smashedr/simple-extension/build.yaml?logo=norton&logoColor=white&label=build)](https://github.com/smashedr/simple-extension/actions/workflows/build.yaml)
[![Workflow Test](https://img.shields.io/github/actions/workflow/status/smashedr/simple-extension/test.yaml?logo=norton&logoColor=white&label=test)](https://github.com/smashedr/simple-extension/actions/workflows/test.yaml)
[![Workflow Lint](https://img.shields.io/github/actions/workflow/status/smashedr/simple-extension/lint.yaml?logo=norton&logoColor=white&label=lint)](https://github.com/smashedr/simple-extension/actions/workflows/lint.yaml)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/smashedr/simple-extension?logo=listenhub&label=updated)](https://github.com/smashedr/simple-extension/pulse)
[![GitHub Repo Size](https://img.shields.io/github/repo-size/smashedr/simple-extension?logo=buffer&label=repo%20size)](https://github.com/smashedr/simple-extension?tab=readme-ov-file#readme)
[![GitHub Top Language](https://img.shields.io/github/languages/top/smashedr/simple-extension?logo=devbox)](https://github.com/smashedr/simple-extension?tab=readme-ov-file#readme)
[![GitHub Contributors](https://img.shields.io/github/contributors-anon/smashedr/simple-extension?logo=southwestairlines)](https://github.com/smashedr/simple-extension/graphs/contributors)
[![GitHub Issues](https://img.shields.io/github/issues/smashedr/simple-extension?logo=codeforces&logoColor=white)](https://github.com/smashedr/simple-extension/issues)
[![GitHub Discussions](https://img.shields.io/github/discussions/smashedr/simple-extension?logo=theconversation)](https://github.com/smashedr/simple-extension/discussions)
[![GitHub Forks](https://img.shields.io/github/forks/smashedr/simple-extension?style=flat&logo=forgejo&logoColor=white)](https://github.com/smashedr/simple-extension/forks)
[![GitHub Repo Stars](https://img.shields.io/github/stars/smashedr/simple-extension?style=flat&logo=gleam&logoColor=white)](https://github.com/smashedr/simple-extension/stargazers)
[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat&logo=apachespark&logoColor=white&label=org%20stars)](https://cssnr.github.io/)
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
[![Ko-fi](https://img.shields.io/badge/Ko--fi-72a5f2?logo=kofi&label=support)](https://ko-fi.com/cssnr)

# Simple Extension


Simple Extension

- [Features](#features)
- [Configuration](#configuration)
- [Support](#support)
- [Template Notes](#template-notes)
- [Development](#development)
- [Contributing](#contributing)

Modern Chrome Web Extension and Firefox Browser Addon for Copying and Creating New Extensions.
Written in Vanilla JavaScript using Bootstrap and compatible with Mobile Firefox, Yandex, Kiwi, etc.

> [!CAUTION]
> **DEPRECATED**
> This extension will no longer be updated in favor of:
>

> [!TIP]
> **TS + VUE + WXT + VITE**
> A new template extension has been created and maintained:
>

## Features

- Options Page
- Toolbar Popup
- Extension Page
- Extension Panel
- Context Menu
- Keyboard Shortcuts
- Content Script
- Service Worker
- Host Permissions
- Dark/Light Theme Switcher
- Fully Mobile Compatible

## Configuration

You can pin the Addon by clicking the `Puzzle Piece`, find the Link Extractor icon, then;
**Chrome,** click the `Pin` icon.
**Firefox,** click the `Settings Wheel` and `Pin to Toolbar`.

## Support

Logs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and;
Firefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.

If you run into any issues or need help getting started, please do one of the following:

- Report an Issue:
- Q&A Discussion:
- Request a Feature:
- Chat with us on Discord:

[![Features](https://img.shields.io/badge/features-brightgreen?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/smashedr/simple-extension/issues/new?template=1-feature.yaml)
[![Issues](https://img.shields.io/badge/issues-red?style=for-the-badge&logo=southwestairlines&logoColor=white)](https://github.com/smashedr/simple-extension/issues)
[![Discussions](https://img.shields.io/badge/discussions-blue?style=for-the-badge&logo=livechat&logoColor=white)](https://github.com/smashedr/simple-extension/discussions)
[![Discord](https://img.shields.io/badge/discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/wXy6m2X8wY)

To support this project, see the [Contributing](#Contributing) section at the bottom.

# Template Notes

- Minimum Chrome and Firefox Versions

These should ben set to the highest level of API you use.
**Firefox** is set to 112 due to `background: type: "module"` allowing import in the service-worker.
**Chrome** is set to 127 due to using `action.openPopup()` which was policy restricted until then.

# Development

For instructions on building, testing and submitting a PR, see [CONTRIBUTING.md](#contributing-ov-file).

# Contributing

Please consider making a donation to support the development of this project
and [additional](https://cssnr.com/) open source projects.

[![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cssnr)

Additionally, you can give a 5-star rating
on [Google](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
or [Mozilla](https://addons.mozilla.org/addon/link-extractor) and star this project on GitHub.

Other Web Extensions I have created and published:

- [Link Extractor](https://github.com/cssnr/link-extractor?tab=readme-ov-file#readme)
- [Open Links in New Tab](https://github.com/cssnr/open-links-in-new-tab?tab=readme-ov-file#readme)
- [Auto Auth](https://github.com/cssnr/auto-auth?tab=readme-ov-file#readme)
- [Cache Cleaner](https://github.com/cssnr/cache-cleaner?tab=readme-ov-file#readme)
- [HLS Video Downloader](https://github.com/cssnr/hls-video-downloader?tab=readme-ov-file#readme)
- [Zipline Extension](https://github.com/cssnr/zipline-extension?tab=readme-ov-file#readme)
- [Obtainium Extension](https://github.com/cssnr/obtainium-extension?tab=readme-ov-file#readme)
- [SMWC Web Extension](https://github.com/cssnr/smwc-web-extension?tab=readme-ov-file#readme)
- [PlayDrift Extension](https://github.com/cssnr/playdrift-extension?tab=readme-ov-file#readme)
- [ASN Plus](https://github.com/cssnr/asn-plus?tab=readme-ov-file#readme)
- [Aviation Tools](https://github.com/cssnr/aviation-tools?tab=readme-ov-file#readme)
- [Text Formatter](https://github.com/cssnr/text-formatter?tab=readme-ov-file#readme)

For a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)





Star History Chart